Sunday, 8 September 2013

Heroku DB Migration Error

Heroku DB Migration Error

Getting a migration error when I try to migrate my database on Heroku.
Found a solution on here offering this advice:
rake db:create
rake db:schema:load
rake db:migrate
but it hasn't made a difference. The error starts like this:
PG::UndefinedColumn: ERROR: column "property_id" of relation "bookings"
does not exist
I don't have a property_id column anymore as this got changed in later
migrations locally. My migrations work locally by the way so why not on
Heroku?

No comments:

Post a Comment