Skip to content

feat(storage): add versioned SQLite migrations - #110

Merged
tuzuminami merged 1 commit into
mainfrom
codex/add-sqlite-migrations-80
Jul 20, 2026
Merged

feat(storage): add versioned SQLite migrations#110
tuzuminami merged 1 commit into
mainfrom
codex/add-sqlite-migrations-80

Conversation

@tuzuminami

Copy link
Copy Markdown
Owner

Closes #80\n\n## Summary\n- adds a sequential SQLite migration registry with immutable checksums and a CI/lint guard\n- validates legacy 3/5/6-table databases, protects newer or unknown schemas with read-only preflight, and creates private online-backup snapshots\n- surfaces schema, integrity, WAL, and backup-maintenance status in Diagnostics without exposing backup paths\n- documents recovery and adds coverage for rollback, WAL, snapshot retention, and schema tampering\n\n## Verification\n- ./scripts/test.sh\n- ./scripts/lint.sh\n- ./scripts/check_licenses.sh\n- ./scripts/check_no_external_network.sh\n- reviewer and security review: no Critical/P1 findings

@tuzuminami
tuzuminami merged commit 5ccc68c into main Jul 20, 2026
2 checks passed
@tuzuminami
tuzuminami deleted the codex/add-sqlite-migrations-80 branch July 20, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[P0][Storage] versioned SQLite migration・upgrade・rollback・integrity gateを実装する

1 participant