You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 13, 2022. It is now read-only.
What's strange is that the "up" migration works while "down" fails with this message :
StandardError: An error has occurred, this and all later migrations canceled:
PG::DuplicateTable: ERREUR: the relation « fk__customers_profile_id » already exists:
CREATE INDEX "fk__customers_profile_id" ON "customers" ("profile_id")
Please note that even for the "up" migration, the foreign key ALREADY exists. I just wanted to alter on_delete and on_update to :cascade (and revert them to :no_action on rollback)