v0.9.33 bugs fixes
This commit is contained in:
@@ -311,6 +311,12 @@ function initDb() {
|
||||
console.log('[DB] Migration: added is_managed column to groups');
|
||||
} catch (e) { /* already exists */ }
|
||||
|
||||
// Migration: is_multi_group flag — distinguishes multi-group DMs from user-group DMs
|
||||
try {
|
||||
db.exec("ALTER TABLE groups ADD COLUMN is_multi_group INTEGER NOT NULL DEFAULT 0");
|
||||
console.log('[DB] Migration: added is_multi_group column to groups');
|
||||
} catch (e) { /* already exists */ }
|
||||
|
||||
// Migration: user_groups and user_group_members tables
|
||||
try {
|
||||
db.exec(`
|
||||
|
||||
Reference in New Issue
Block a user