feat: bootstrap foundation application

This commit is contained in:
2026-04-29 00:26:58 -04:00
parent 8e6646499f
commit 4a72e1e030
53 changed files with 4443 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
CREATE TABLE IF NOT EXISTS document_versions (
id TEXT PRIMARY KEY,
document_id TEXT NOT NULL,
hash TEXT NOT NULL,
previous_hash TEXT,
created_at TEXT NOT NULL,
change_summary TEXT,
UNIQUE(document_id, hash),
FOREIGN KEY(document_id) REFERENCES documents(id) ON DELETE CASCADE
);