The problem is that heroku doesn't have the migrations that you locally have in order to have the same db version the following migration to heroku:
To find out the local db version: $ rake db:version
Then grab the version you get locally and make sure you have it in the hero by doing the following:
$ heroku run rake --trace db:migrate VERSION=20151127134901
Explanation: Essentially, the above command transfers the db migration to the hero with the same migration version that you are locally.
Hope this helps!
source share