'Heroku doesn't see my changes after git push

I am trying to deploy a new version of my app to heroku and although running it locally works, I can't see any change after I do the following:

git push heroku master

and then

heroku run rake db:migrate

There seems to be no effect. It's strange because without a model change I was able to deploy changes with just the git push command. Any thoughts?



Solution 1:[1]

It sounds as if you might be not commiting your changes to Github first.

git add .

git commit -m "commit details here"

git push origin master

THEN

git push heroku master

Solution 2:[2]

If you're pushing and then migrating you then need to do

heroku restart

to have your application recache the DB schema.

Solution 3:[3]

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 TLama
Solution 2 John Beynon
Solution 3 Community