【ruby on rails】rake db:migrate
Production環境にmigrationする場合は
とRAILS_ENVにproductionを指定する。
Production環境にmigrationする場合は
rake db:migrate RAILS_ENV=production
とRAILS_ENVにproductionを指定する。
rake db:migrate RAILS_ENV=production