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.

26 lines
882 B
TypeScript

// @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.conversations */
export type ConversationsId = number & { __brand: "public.conversations" };
/** Represents the table public.conversations */
export default interface ConversationsTable {
id: ColumnType<ConversationsId, never, never>;
title: ColumnType<string | null, string | null, string | null>;
created_at: ColumnType<string | null, string | null, string | null>;
user_id: ColumnType<UsersId | null, UsersId | null, UsersId | null>;
}
export type Conversations = Selectable<ConversationsTable>;
export type NewConversations = Insertable<ConversationsTable>;
export type ConversationsUpdate = Updateable<ConversationsTable>;