summaryrefslogtreecommitdiffstats
path: root/src/db.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.rs')
-rw-r--r--src/db.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/db.rs b/src/db.rs
index 2024032..4d2de88 100644
--- a/src/db.rs
+++ b/src/db.rs
@@ -114,6 +114,9 @@ impl Database {
114 let _ = conn.execute_batch( 114 let _ = conn.execute_batch(
115 "ALTER TABLE instances ADD COLUMN whitelist_enabled INTEGER NOT NULL DEFAULT 1", 115 "ALTER TABLE instances ADD COLUMN whitelist_enabled INTEGER NOT NULL DEFAULT 1",
116 ); 116 );
117 // Migration: add enabled column to mods for disable/enable toggling
118 let _ =
119 conn.execute_batch("ALTER TABLE mods ADD COLUMN enabled INTEGER NOT NULL DEFAULT 1");
117 Ok(()) 120 Ok(())
118 } 121 }
119 122