Skip to content

Conversation

uehara-delta
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant