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
We setforeign_key_checks = 0 and that's have some consequences.
Running migrations with ON DELETE RESTRICT produces table with ON DELETE NO ACTION. In MySQL they are identical, still, I see this as a bug.
Also, disabled foreign_key_check may lead to hard-to-catch errors and we should not enable it by default. A migration can enable it by itself. So, I suggest removing it.
The text was updated successfully, but these errors were encountered:
We set
foreign_key_checks = 0
and that's have some consequences.Running migrations with
ON DELETE RESTRICT
produces table withON DELETE NO ACTION
. In MySQL they are identical, still, I see this as a bug.Also, disabled foreign_key_check may lead to hard-to-catch errors and we should not enable it by default. A migration can enable it by itself. So, I suggest removing it.
The text was updated successfully, but these errors were encountered: