ALTER TABLE to add an isolated property for projects

This commit is contained in:
Storme-bit
2026-04-14 00:59:54 -07:00
parent 649ed2b350
commit 8d4a553a2a

View File

@@ -25,6 +25,10 @@ function getDB() {
try {
db.exec(`CREATE INDEX IF NOT EXISTS idx_sessions_project ON sessions(project_id)`);
} catch {}
try {
db.exec(`ALTER TABLE projects ADD COLUMN isolated INTEGER NOT NULL DEFAULT 0`);
} catch {}
// Sync FTS index with any existing episodes data