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

rollback fails if db is not at latest migration #199

Closed
jayvdb opened this issue Mar 6, 2024 · 0 comments · Fixed by #200
Closed

rollback fails if db is not at latest migration #199

jayvdb opened this issue Mar 6, 2024 · 0 comments · Fixed by #200

Comments

@jayvdb
Copy link
Collaborator

jayvdb commented Mar 6, 2024

Steps to reproduce:

  1. Create a migration "a"
  2. Migrate the database to "a"
  3. Create a migration "b"
  4. Run rollback

rollback will attempt to rollback "b" which isnt in the database, resulting in errors.

This occurs for both butane rollback and butane rollback a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant