File size: 1,011 Bytes
d821d28 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | {
"schema": 1,
"version": 2,
"policy": {
"autoMigrate": true,
"backupBeforeMigration": true,
"validateSchema": true
},
"tables": [
"projects",
"project_events",
"snapshots",
"snapshot_items",
"canon_entries",
"canon_revisions",
"frontier_items",
"frontier_observations",
"archive_records",
"knowledge_embeddings",
"dependency_findings",
"delta_runs",
"delta_gaps",
"delta_dependencies",
"governance_reviews"
],
"steps": [
"Back up the local database before applying migrations when configured.",
"Apply SQLite schema version 2, including dependency findings, delta persistence, and governance review tables.",
"Apply idempotent schema updates and record the applied schema versions.",
"Validate the expected table set before the API becomes ready.",
"Backfill app_state into normalized repositories in a transaction.",
"Verify counts and checksums before switching reads or removing app_state."
]
}
|