Rails DB Migration on production
rake db:migrate RAILS_ENV="production"That command will run all the Migrations it finds under db/migrate until it's at the highest version number. You can override the version number by appending VERSION=x after the command. - i.e., pass RAILS_ENV="test to force the migration to run on the test.
0 Comments:
Post a Comment
<< Home