Bug: Alembic forked history — migrations 019 and 020 both descend from 018 #166
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/basketball-api#166
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?
Type
Bug
Lineage
Discovered during QA review of PR #163 (issue #130)
Repo
forgejo_admin/basketball-apiWhat Broke
Main has a forked Alembic migration chain. Both
019_player_teams_junction.pyand020_add_custom_notes_to_player.pydeclaredown_revision = "018", creating two heads. This happened when PRs #164 and #165 merged without chain coordination.Repro Steps
cd ~/basketball-api && git checkout mainalembic heads— returns two heads instead of onealembic upgrade head— fails or behaves unpredictablyExpected Behavior
Single linear Alembic chain.
alembic headsreturns exactly one head.Environment
basketball-api main branch, Alembic migrations directory
Acceptance Criteria
alembic headsreturns exactly one headConstraints
Related