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> |
||
|---|---|---|
| .. | ||
| code-review-remediation-plan.md | ||
| decisions-log.md | ||
| plan.md | ||
| release-procedure.md | ||