Migration chain is not reproducible on a fresh database (0505 references an org no migration creates) #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
cargo sqlx migrate runon a fresh database fails at migration 0505:The default org
11111111-1111-1111-1111-111111111111was created by hand on dev/prod, so the chain only works on databases that inherited that row. This blocked the CItestandcoveragejobs (and any new developer machine), and every migration after 0505 (incl.citizen.suspended_atfrom 0507) never applied — cascading intodsoc-authintegration-test failures.Fix in PR: 0505 now seeds the org idempotently (
ON CONFLICT (id) DO NOTHING). Safe everywhere: prod/dev already have the row; sqlx checksums unaffected (prod untracked, dev tracked only ≤ 0390, CI had not recorded 0505).