v0.6.5 various updates
This commit is contained in:
@@ -182,6 +182,12 @@ function initDb() {
|
||||
console.log('[DB] Migration: added direct_peer2_id column');
|
||||
} catch (e) { /* column already exists */ }
|
||||
|
||||
// Migration: last_login timestamp per user
|
||||
try {
|
||||
db.exec("ALTER TABLE users ADD COLUMN last_login TEXT");
|
||||
console.log('[DB] Migration: added last_login column');
|
||||
} catch (e) { /* column already exists */ }
|
||||
|
||||
// Migration: help_dismissed preference per user
|
||||
try {
|
||||
db.exec("ALTER TABLE users ADD COLUMN help_dismissed INTEGER NOT NULL DEFAULT 0");
|
||||
|
||||
Reference in New Issue
Block a user