Repository navigation
Commit 77fd96b
fix(control): baseline migration matches the current v5/v4 schema
main moved the control schema in place (Postgres v5 / SQLite v4, #365):
`check_run_updates` gained the outbox `version`/`lease_owner` columns and
dropped its foreign key to `jobs`. The frozen baseline was copied from the
pre-#365 tree, so a database created by the current runtime no longer
matched it: `preloop store migrate --adopt-baseline` refused every released
store, and the fresh-vs-upgraded parity checks drifted from `schema.sql`.
The baseline is now the shape the pre-migration runtime actually creates,
which is what adoption and the upgrade fixtures compare against. Header
names the commit it was frozen from.1 parent 63c6f5e commit 77fd96b
2 files changed
Lines changed: 12 additions & 6 deletions
File tree
- migrations
- postgres
- sqlite
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
671 | 673 | | |
672 | 674 | | |
673 | 675 | | |
| 676 | + | |
674 | 677 | | |
675 | 678 | | |
676 | 679 | | |
677 | 680 | | |
678 | | - | |
679 | | - | |
| 681 | + | |
| 682 | + | |
680 | 683 | | |
681 | 684 | | |
682 | 685 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
572 | 574 | | |
573 | 575 | | |
574 | 576 | | |
| 577 | + | |
575 | 578 | | |
576 | 579 | | |
577 | 580 | | |
578 | 581 | | |
579 | | - | |
580 | | - | |
| 582 | + | |
| 583 | + | |
581 | 584 | | |
582 | 585 | | |
583 | 586 | | |
| |||
0 commit comments