feat: add schema drift handling and rebuild

This commit is contained in:
2026-09-19 16:02:04 -07:00
parent 7074b82ced
commit 60bc2fb9d0
5 changed files with 125 additions and 24 deletions
+2
View File
@@ -111,6 +111,8 @@ CREATE TABLE IF NOT EXISTS settings (
value_enc TEXT
);
CREATE TABLE IF NOT EXISTS schema_version (version INTEGER PRIMARY KEY);
-- 7. prompts + prompt_revisions (append-only revisions)
CREATE TABLE IF NOT EXISTS prompts (
id INTEGER PRIMARY KEY,