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
823 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 = string;
/** Represents the table public.conversations */
export default interface ConversationsTable {
id: ColumnType<ConversationsId, ConversationsId | undefined, ConversationsId>;
title: ColumnType<string, string, string>;
createdAt: ColumnType<string, string | undefined, string>;
userId: ColumnType<UsersId, UsersId, UsersId>;
}
export type Conversations = Selectable<ConversationsTable>;
export type NewConversations = Insertable<ConversationsTable>;
export type ConversationsUpdate = Updateable<ConversationsTable>;