You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
886 B
TypeScript
29 lines
886 B
TypeScript
// @generated
|
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
|
|
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
|
|
|
|
/** Identifier type for public.users */
|
|
export type UsersId = number & { __brand: "public.users" };
|
|
|
|
/** Represents the table public.users */
|
|
export default interface UsersTable {
|
|
id: ColumnType<UsersId, never, never>;
|
|
|
|
username: ColumnType<string | null, string | null, string | null>;
|
|
|
|
password: ColumnType<string | null, string | null, string | null>;
|
|
|
|
email: ColumnType<string | null, string | null, string | null>;
|
|
|
|
last_login: ColumnType<string | null, string | null, string | null>;
|
|
|
|
created_at: ColumnType<string | null, string | null, string | null>;
|
|
}
|
|
|
|
export type Users = Selectable<UsersTable>;
|
|
|
|
export type NewUsers = Insertable<UsersTable>;
|
|
|
|
export type UsersUpdate = Updateable<UsersTable>;
|