chore(db): land migration 0017 ahead of the #96 release candidate #104
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lz/agent-nexus!104
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/migration-0017-ahead-of-rc"
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?
Schema only — deliberately separated from the code that writes these columns (#99), so the #96 release candidate can be rolled back by swapping the image and nothing else.
Why this is split out
Kysely's migrator refuses to start against a database holding a migration the code does not know about. Measured against this repo's own migration set:
runMigrationsrethrows that, andserver.tsruns migrations explicitly at boot — so a main-built image pointed at a database the RC had already migrated would not start at all. Not degrade: refuse to boot.Nothing is actually incompatible. Both columns are nullable, display-only, and never read by main's code. It is purely the strictness check.
Landing the migration here first means the RC carries no schema change, so main and the RC are interchangeable in both directions and rollback is a pure image swap.
Merge safety
The file is byte-identical to the copy on
feat/startup-visibility, so the stack merges it clean when it lands. Verified withgit merge-tree:Gates
Deploy order
Take a
VACUUM INTOsnapshot before step 2 anyway; it costs one command.