samedi 27 juin 2015

Heroku migrate db error unknown column

I am working on my ruby on rails project and when I run heroku db:migrate I get an error about how a column doesn't exist.

I know that this is because I had a migration file that I manually edited to remove a column I created beforehand instead of creating a new migration file.

I removed the remove_column line and migrated db my local db but when I migrate it to heroku it still runs the migration file to remove column even though the line is no longer there on the actual file.

I dropped my database and loaded the schema again but the heroku error continues to occur.

Aucun commentaire:

Enregistrer un commentaire