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
I've tried the the workaround suggested and dropped the FKC before altering the column and then recreating it after, and it works, but we need to change the migrations in several places. I will list this places in this issue as they are discovered.
The text was updated successfully, but these errors were encountered:
When running the 'bin/console doctrine:migrations:migrate --env=prod' command when upgrading from an Ilios 2.x installation, some migrations fail because they attempt to change the structure of a column that is referenced in a previously-set FOREIGN KEY CONSTRAINT (see here: http://stackoverflow.com/questions/17015844/mysql-5-6-foreign-key-constraint-error-didnt-occur-in-5-5)
I've tried the the workaround suggested and dropped the FKC before altering the column and then recreating it after, and it works, but we need to change the migrations in several places. I will list this places in this issue as they are discovered.
The text was updated successfully, but these errors were encountered: