Heroku ignores recent migrations

I just ran heroku rake db:migrateit and three of my last migrations are completely ignored. I pushed everything to Heroka and Gitub, but this, like Heroku, does not think that they exist.

git status doesn't show anything bad, and my repositioning of Github contains the migration files in the right place.

What's wrong?

+3
source share
2 answers

From what you said, it should work.

If you are completely stuck, can you always try to pull your production database out of the hero, migrate to the local machine, and then push the database to the hero?

At a minimum, can you see what is happening in your database, at least?

http://blog.heroku.com/archives/2009/3/18/push_and_pull_databases_to_and_from_heroku/

0

" " .

+4

Source: https://habr.com/ru/post/1790889/


All Articles