Open uehara-delta opened 3 years ago
This turns off foreign key constraint checking in MySQL not only for CREATE TABLE but also for ALTER TABLE and DROP TABLE.
This is because ALTER TABLE and DROP TABLE may also result in errors due to foreign key constraint checking.
Changed the process of changing the foreign_key_checks variable from before and after CREATE TABLE to before and after the entire diff.
This turns off foreign key constraint checking in MySQL not only for CREATE TABLE but also for ALTER TABLE and DROP TABLE.
This is because ALTER TABLE and DROP TABLE may also result in errors due to foreign key constraint checking.
Changed the process of changing the foreign_key_checks variable from before and after CREATE TABLE to before and after the entire diff.