fix(migrations): renumber duplicate 033 profile_completed_at migration to 046 #235

Merged
David merged 1 commit from chore/checks-workflow-048ddb98 into main 2026-06-14 16:41:22 +02:00
Owner

Two branches both picked prefix 033: 033_timesheet_draft_state.sql (PMS-183, already on main) and 033_users_profile_completed_at.sql (force-profile-setup-on-jit, merged in #151). sqlx keys its _sqlx_migrations ledger on the numeric prefix, so the collision makes the applied version ambiguous and check-migration-prefixes.nu fails the check.yml gate. Renumber the just-merged profile migration to 046 (next free prefix after 045); it is order-independent relative to 034-045 so the move is safe. Update the doc comment in mokosh-types referencing the old filename.

#PMS-302

Two branches both picked prefix 033: 033_timesheet_draft_state.sql (PMS-183, already on main) and 033_users_profile_completed_at.sql (force-profile-setup-on-jit, merged in #151). sqlx keys its _sqlx_migrations ledger on the numeric prefix, so the collision makes the applied version ambiguous and check-migration-prefixes.nu fails the check.yml gate. Renumber the just-merged profile migration to 046 (next free prefix after 045); it is order-independent relative to 034-045 so the move is safe. Update the doc comment in mokosh-types referencing the old filename. #PMS-302
fix(migrations): renumber duplicate 033 profile_completed_at migration to 046
All checks were successful
E2E / Playwright against staging (pull_request) Successful in 36s
Check / fmt + clippy + compile + unit/doc tests (pull_request) Successful in 1m14s
Integration / integration tests (pull_request) Successful in 4m22s
Create release / Create release from merged PR (pull_request) Has been skipped
c2cf8c230b
Two branches both picked prefix 033: 033_timesheet_draft_state.sql (PMS-183, already on main) and 033_users_profile_completed_at.sql (force-profile-setup-on-jit, merged in #151). sqlx keys its _sqlx_migrations ledger on the numeric prefix, so the collision makes the applied version ambiguous and check-migration-prefixes.nu fails the check.yml gate. Renumber the just-merged profile migration to 046 (next free prefix after 045); it is order-independent relative to 034-045 so the move is safe. Update the doc comment in mokosh-types referencing the old filename.

#PMS-302
David merged commit 5d9b8b7786 into main 2026-06-14 16:41:22 +02:00
David deleted branch chore/checks-workflow-048ddb98 2026-06-14 16:41:22 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-server!235
No description provided.