This commit is contained in:
2026-04-06 23:39:27 +05:00
parent 76ee4b7ac3
commit 73ace950fa
4 changed files with 235 additions and 9 deletions

View File

@@ -774,7 +774,8 @@ function checkAndUpdateTableStructure() {
{ name: 'vk_notifications', type: 'BOOLEAN DEFAULT false' },
{ name: 'vk_user_id', type: 'TEXT' },
{ name: 'created_at', type: 'DATETIME DEFAULT CURRENT_TIMESTAMP' },
{ name: 'updated_at', type: 'DATETIME DEFAULT CURRENT_TIMESTAMP' }
{ name: 'updated_at', type: 'DATETIME DEFAULT CURRENT_TIMESTAMP' },
{ name: 'last_chat_notification_sent_at', type: 'TIMESTAMP' }
],
notification_history: [
{ name: 'id', type: 'INTEGER PRIMARY KEY AUTOINCREMENT' },