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
Is there a way to run revert/rollback a migration without specifying its name?
Currently I have to do this:
npx migrate down MIGRATION_FILE_NAME
would be really helpful if there is a command to revert the last migration. something like:
npx migrate down:undo
The same functionality is supported in sequelize by running:
npx sequelize db:migrate:undo
The text was updated successfully, but these errors were encountered:
menocomp
changed the title
Support down the last migration without specifying its name
Support revert/rollback the last migration without specifying its name
Jul 24, 2019
Is there a way to run revert/rollback a migration without specifying its name?
Currently I have to do this:
would be really helpful if there is a command to revert the last migration. something like:
The same functionality is supported in sequelize by running:
The text was updated successfully, but these errors were encountered: