How to rollback a single migration file in rails?
I only want to undo one migration file, something like
rake db:rollback VERSION=$TIMESTAMP
This command doesn't work. Any suggesti开发者_C百科on?
rake db:migrate:down VERSION=$TIMESTAMP
should do the trick.
rake db:rollback is now the way.
精彩评论