Forum: Rails deployment Migrate Status on Heroku

F7a7a3ff7412e5cc4be7afc6cdf8dfeb?d=identicon&s=25 Chris Kuffo (chriskuffo)
on 2013-11-22 19:02
I am having a problem with my app on Heroku.

When I run

heroku run rake db:migrate:status

it shows 5 of my migrations with only 2 of them saying up status and the
other 3 three say down status.

How do i get the other three to be up. I ran

heroku run rake db:migrate

what step am i missing?

Thanks.
F7a7a3ff7412e5cc4be7afc6cdf8dfeb?d=identicon&s=25 Chris Kuffo (chriskuffo)
on 2013-11-22 23:00
This resolved my problem

heroku run rake db:setup

Then

heroku run rake db:migrate:reset

Finally my migrate passes

heroku run rake db:migrate

Then i restarted heroku

heroku restart

My app works as normal
This topic is locked and can not be replied to.