update schema
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ export const messagesTable = sqliteTable("messages", {
|
||||
chatId: int().notNull(),
|
||||
replyToMessageId: int(),
|
||||
fromId: int().notNull(),
|
||||
text: text().notNull(),
|
||||
text: text(),
|
||||
date: int().notNull(),
|
||||
});
|
||||
|
||||
|
||||
@@ -3,6 +3,6 @@ export type StoredMessage = {
|
||||
messageId: number;
|
||||
replyToMessageId?: number | null;
|
||||
fromId: number;
|
||||
text: string;
|
||||
text?: string;
|
||||
date: number;
|
||||
};
|
||||
Reference in New Issue
Block a user