// @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.emails */
export type EmailsIdEmail = number & { __brand: 'public.emails' };

/** Represents the table public.emails */
export default interface EmailsTable {
  id_email: ColumnType<EmailsIdEmail, EmailsIdEmail | undefined, EmailsIdEmail>;

  user_id: ColumnType<UsersId, UsersId, UsersId>;

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

  data: ColumnType<unknown, unknown, unknown>;
}

export type Emails = Selectable<EmailsTable>;

export type NewEmails = Insertable<EmailsTable>;

export type EmailsUpdate = Updateable<EmailsTable>;
