lundi 15 mai 2017

rake aborted! StandardError: An error has occurred, this and all later migrations canceled: PG::Error: ERROR:

I have an issue, concerning migration on Ruby on Rails 3.2.16. I got a project that i should run on my localhost, whenver I run bundle exec rake db:migrate some tables are created on my database ( postgreesql) and others are aborted because of a select query with error:

rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

PG::Error: ERROR:  column "column_name" does not exist

this error comes from a select query while executing the command line mentioned above.

Thank you in advance.

Aucun commentaire:

Enregistrer un commentaire