v0.6.5 various updates

This commit is contained in:
2026-03-10 18:16:05 -04:00
parent 09e6a75a9b
commit 2d21aac35f
11 changed files with 33 additions and 9 deletions

View File

@@ -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");