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
Run
git remote -v
to see your remote name.
Assuming your staging remote name is staging
, then:
heroku run rake db:migrate --remote staging