Reputation: 809
I deployed an app to heroku, and after I ran:
heroku run rake db:migrate
heroku ran some migrations but not all of them
I checked the db versions with
heroku run rake db:version
Running `rake db:version` attached to terminal... up, run.9949
Current version: 20131206153652
and
rake db:version
Current version: 20140102125131
both are in diferent versions of the DB, but how can I said to heroku that I need to run ALL the migrations.
Upvotes: 1
Views: 724
Reputation: 809
solved by doing:
git push heroku development:master
I was working in a different branch, thanks @gareth
Upvotes: 1