migration rollback in rails
-
11-10-2019 - |
Question
Hey guys I only want to undo one migration file, something like
rake db:rollback VERSION=$TIMESTAMP
this command doesn't work, any suggestion?
Solution
rake db:migrate:down VERSION=$TIMESTAMP
should do the trick.
OTHER TIPS
rake db:rollback is now the way.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow