We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
redo
To reproduce:
Create a migration in which up succeeds but down fails
up
down
Run micrate up
micrate up
Run micrate redo:
micrate redo
Migrating db, current version: 1, target: 0 An error ocurred executing migration 1. Error message is: ... Migrating db, current version: 0, target: 1
I.e. micrate attempts to apply up even though the down failed.
Micrate should exit when an SQL error occurs and never perform any further steps.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
To reproduce:
Create a migration in which
up
succeeds butdown
failsRun
micrate up
Run
micrate redo
:I.e. micrate attempts to apply
up
even though thedown
failed.Micrate should exit when an SQL error occurs and never perform any further steps.
The text was updated successfully, but these errors were encountered: