Assuming you've already setup and named your remotes for staging and producdtion
staging
producdtion
heroku run rails db:migrate --remote staging heroku run rails db:migrate --remote production
Last updated 5 years ago