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

Ryan Sukale

Ryan is just a regular guy next door trying to manage his life and finances.

You may also like...