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?

Was it helpful?

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
scroll top