New project table schema

This commit is contained in:
Storme-bit
2026-04-13 05:56:57 -07:00
parent 630ec22d8a
commit 4024f187df
2 changed files with 16 additions and 0 deletions

View File

@@ -17,6 +17,10 @@ function getDB() {
try{
db.exec(`ALTER TABLE sessions ADD COLUMN name TEXT`)
} catch {}
try {
db.exec(`ALTER TABLE sessions ADD COLUMN project_id INTEGER REFERENCES projects(id)`);
} catch {}
// Sync FTS index with any existing episodes data