Jorman Bustos
Jorman Bustos

Reputation: 809

heroku don't run migrations

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

Answers (1)

Jorman Bustos
Jorman Bustos

Reputation: 809

solved by doing: git push heroku development:master

I was working in a different branch, thanks @gareth

Upvotes: 1

Related Questions