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

import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';

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

/** Represents the table public.storageindex */
export default interface StorageindexTable {
  id: ColumnType<StorageindexId, StorageindexId | undefined, StorageindexId>;

  created_at: ColumnType<Date, Date | string | undefined, Date | string>;

  filename: ColumnType<string | null, string | null, string | null>;

  ext: ColumnType<string | null, string | null, string | null>;

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

  expires_at: ColumnType<Date | null, Date | string | null, Date | string | null>;
}

export type Storageindex = Selectable<StorageindexTable>;

export type NewStorageindex = Insertable<StorageindexTable>;

export type StorageindexUpdate = Updateable<StorageindexTable>;
