Desk2Mob

Desk2Mob

Desk2Mob

How to rollback Rails database migrations?

  • To rollback your most recent migration, execute the command below

rake db:migrate:rollback

  • If you want to rollback a specific migration, you need to execute the command below

rake db:migrate VERSION=<version to rollback to>

Posted on February 03, 2014 by Amit Pandya in Rails2


All Posts