RAILS_ENV=production rake db:migrate worked