trainUs/docs
David c5ee817ebb F3: DB restore keeps the live schema_version stamp
Restoring a backup copied the backup's schema_version into the live DB.
Once SCHEMA_VERSION moves past 1, restoring an older backup (already
adapted to the current schema by the migration scripts) would leave an
old stamp, so the next launch re-runs migrations against an
already-adapted schema and blocks the app. schema_version is now
excluded from the restore copy; the live stamp is correct by
construction. Regression test tampers a backup's stamp and asserts the
live one survives.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 15:14:08 +02:00
..
code-review-remediation-plan.md Add some stats + plan after code review 2026-07-07 16:20:16 +02:00
decisions-log.md F3: DB restore keeps the live schema_version stamp 2026-07-09 15:14:08 +02:00
plan.md Add some stats + plan after code review 2026-07-07 16:20:16 +02:00
release-procedure.md Initial commit 2026-06-18 13:06:57 +02:00