Migrate Status on Heroku

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?


This resolved my problem

heroku run rake db:setup


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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs