ALTER TABLE to add an isolated property for projects
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user