// @generated
// This file is automatically generated by Kanel. Do not modify manually.

import type { UsersId } from './Users';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';

/** Identifier type for public.users_storage */
export type UsersStorageUserStorageId = string & { __brand: 'public.users_storage' };

/** Represents the table public.users_storage */
export default interface UsersStorageTable {
  user_storage_id: ColumnType<UsersStorageUserStorageId, UsersStorageUserStorageId | undefined, UsersStorageUserStorageId>;

  userId: ColumnType<UsersId, UsersId, UsersId>;

  storageId: ColumnType<string, string, string>;

  from_admin: ColumnType<boolean, boolean | undefined, boolean>;
}

export type UsersStorage = Selectable<UsersStorageTable>;

export type NewUsersStorage = Insertable<UsersStorageTable>;

export type UsersStorageUpdate = Updateable<UsersStorageTable>;
