• 0

How to run rails migrate on your test database

As it turns out rails db:migrate does not update your test database. Use the following command to do so.

rake environment RAILS_ENV=test db:migrate