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
925 B
TypeScript
29 lines
925 B
TypeScript
// @generated
|
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
|
|
import type { UsersId } from './Users';
|
|
import type { MessagesId } from './Messages';
|
|
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
|
|
/** Identifier type for public.facts */
|
|
export type FactsId = number & { __brand: 'public.facts' };
|
|
|
|
/** Represents the table public.facts */
|
|
export default interface FactsTable {
|
|
id: ColumnType<FactsId, never, never>;
|
|
|
|
user_id: ColumnType<UsersId | null, UsersId | null, UsersId | null>;
|
|
|
|
source_message_id: ColumnType<MessagesId | null, MessagesId | null, MessagesId | null>;
|
|
|
|
content: ColumnType<string | null, string | null, string | null>;
|
|
|
|
created_at: ColumnType<string | null, string | null, string | null>;
|
|
}
|
|
|
|
export type Facts = Selectable<FactsTable>;
|
|
|
|
export type NewFacts = Insertable<FactsTable>;
|
|
|
|
export type FactsUpdate = Updateable<FactsTable>;
|