How to rake db:migrate on a Heroku staging pipeline? How to rake db:migrate on a Heroku staging pipeline? heroku heroku

How to rake db:migrate on a Heroku staging pipeline?


Run

git remote -v

to see your remote name.

Assuming your staging remote name is staging, then:

heroku run rake db:migrate --remote staging

Read more