Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix relative ids for downgrade/upgrade #9

Merged
merged 1 commit into from
Feb 22, 2024
Merged

fix relative ids for downgrade/upgrade #9

merged 1 commit into from
Feb 22, 2024

Conversation

davidism
Copy link
Member

Unlike upgrade, the internals of Alembic's downgrade only accept a single id, never a list. Meanwhile, Alembic's internal upgrade does accept a list despite its signature, but when passing a relative id (+1) it must be a single id, and it must start with +.

@davidism davidism linked an issue Feb 22, 2024 that may be closed by this pull request
@davidism davidism merged commit 311d1bc into main Feb 22, 2024
8 checks passed
@davidism davidism deleted the downgrade branch February 22, 2024 16:03
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

CLI downgrade command raises exception
1 participant