Fix migration order for approval tables #4

Merged
timmybee merged 1 commits from fix/migration-order into master 2026-03-06 09:38:00 +08:00
Owner

Summary

  • Renamed approval_workflows migration from timestamp 020959 to 020958 so it runs before approval_steps
  • The approval_steps table has a foreign key referencing approval_workflows, which requires approval_workflows to exist first
  • Both migrations previously shared the same timestamp, causing steps to run first alphabetically and fail
## Summary - Renamed `approval_workflows` migration from timestamp `020959` to `020958` so it runs before `approval_steps` - The `approval_steps` table has a foreign key referencing `approval_workflows`, which requires `approval_workflows` to exist first - Both migrations previously shared the same timestamp, causing `steps` to run first alphabetically and fail
timmybee added 1 commit 2026-03-06 09:37:21 +08:00
Fix migration order so approval_workflows runs before approval_steps
All checks were successful
linter / quality (pull_request) Successful in 1m21s
tests / ci (8.4) (pull_request) Successful in 1m25s
tests / ci (8.5) (pull_request) Successful in 1m28s
35f3af9efe
The approval_steps migration references approval_workflows via a
foreign key, but both had the same timestamp (020959), causing
steps to run first alphabetically and fail. Moved workflows to
020958 so it runs first.
timmybee merged commit 2b9b2fd32d into master 2026-03-06 09:38:00 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: timmybee/travel#4