Migration script/generate migration NAMEOFMIGRATION export RAILS_ENV=production / set export RAILS_ENV=production rake db:migrate