2025-08-04 17:45:44 +02:00
|
|
|
// @generated
|
|
|
|
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
import type { ColumnType, Insertable, Selectable, Updateable } from "kysely";
|
|
|
|
|
import type { UsersId } from "./Users";
|
2025-08-04 17:45:44 +02:00
|
|
|
|
|
|
|
|
/** Identifier type for public.emails */
|
2025-08-29 16:18:32 +02:00
|
|
|
export type EmailsIdEmail = number & { __brand: "public.emails" };
|
2025-08-04 17:45:44 +02:00
|
|
|
|
|
|
|
|
/** Represents the table public.emails */
|
|
|
|
|
export default interface EmailsTable {
|
2025-08-29 16:18:32 +02:00
|
|
|
id_email: ColumnType<EmailsIdEmail, EmailsIdEmail | undefined, EmailsIdEmail>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
user_id: ColumnType<UsersId, UsersId, UsersId>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
created_at: ColumnType<Date, Date | string | undefined, Date | string>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
data: ColumnType<unknown, unknown, unknown>;
|
2025-08-04 17:45:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type Emails = Selectable<EmailsTable>;
|
|
|
|
|
|
|
|
|
|
export type NewEmails = Insertable<EmailsTable>;
|
|
|
|
|
|
|
|
|
|
export type EmailsUpdate = Updateable<EmailsTable>;
|