feat(db-table): add default values for createdAt

This commit is contained in:
ItzCrazyKns
2025-10-06 08:59:01 +05:30
parent 02adafbd4b
commit 46b9e41100

View File

@@ -54,7 +54,7 @@ fs.readdirSync(migrationsFolder)
id INTEGER PRIMARY KEY,
type TEXT NOT NULL,
chatId TEXT NOT NULL,
createdAt TEXT NOT NULL,
createdAt TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP,
messageId TEXT NOT NULL,
content TEXT,
sources TEXT DEFAULT '[]'