Roll back a specific migration without rolling back other migrations Roll back a specific migration without rolling back other migrations database database

Roll back a specific migration without rolling back other migrations


You can use rake db:migrate:down VERSION=xxxxx where xxx is your migration version number for more see this


You can specify your Migration file version number to rollback that Migration.

You can achieve it by either of these

rake db:migrate:down VERSION=your_file_version

OR

rake db:rollback:up VERSION=your_file_version