Revert failed migration in rails

Viewed 176

I have 7 database and every database has its own migrations file. While running db:migrate:all it failed on 6th database on xyz migration file. How do run `db:migrate:down VERSION=xyz' on 6th database. I have tried following combination to revert

  1. db:migrate:all:down VERSION=xyz
  2. db:migrate:down VERSION=xyz
  3. db:6th_DB_NAME:migrate:down VERSION=xyz
  4. db:migrate:6th_DB_NAME:down VERSION=xyz

All failed. Whats the way around to revert xyz migration?

0 Answers
Related