You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The redo action does not execute all migrations in a single transaction like the up and down actions. It perfoms the migrations with 2 separated transactions :
one transaction for the down migrations
one transaction for the up migrations
So, if an error occurs while performing the "up" migrations, the "down" migrations are committed, without a message indicating that. So if you try to execute again the redo, it will migrate down more migrations before migrating up.
redo action should have the same behaviour as the up and down actions, any errors should also rollback the "down" migrations when an error occurs in the "up" migrations, and leave the database untouched.
The text was updated successfully, but these errors were encountered:
The
redo
action does not execute all migrations in a single transaction like theup
anddown
actions. It perfoms the migrations with 2 separated transactions :down
migrationsup
migrationsSo, if an error occurs while performing the "up" migrations, the "down" migrations are committed, without a message indicating that. So if you try to execute again the
redo
, it will migrate down more migrations before migrating up.redo
action should have the same behaviour as theup
anddown
actions, any errors should also rollback the "down" migrations when an error occurs in the "up" migrations, and leave the database untouched.The text was updated successfully, but these errors were encountered: