Running migrations in different environments

suggest change

To run migrations in the test environment, run this shell command:

rake db:migrate RAILS_ENV=test

Starting in Rails 5.0, you can use rails instead of rake:

rails db:migrate RAILS_ENV=test

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents