I can push a Rails app to Heroku with …
git push heroku
but when I try to migrate with …
heroku run rake db:migrate
I get …
Running rake db:migrate attached to terminal... failed
! You do not have access to the app my-app-name-1234.
Edit: my .git/config contains …
[remote "heroku"]
url = git@heroku.com:young-mist-1198.git
fetch = +refs/heads/*:refs/remotes/heroku/*
Any ideas? Things look reasonable on the Heroku side and it seems like if my ssh key were bad, it wouldn’t even let me push.
OK, I figured it out and in case it helps someone else …
heroku auth:loginsomehow I was not authorized and just needed to re-login.