I did a mixture of rake db:migrate and doing a pg_restore (Postgres restore from backup).
This got my db out of sync with db:migrate:status. There are columns in my db ahead of where ActiveRecord::Migrator.current_version so when I try to migrate I get PG::DuplicateTable: ERROR: relation "foo_bar" already exists.
How can I reconcile this?
Aucun commentaire:
Enregistrer un commentaire