Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

强烈建议加上SET FOREIGN_KEY_CHECKS = 0;在执行sync或导出sql前 #75

Open
zymeli opened this issue Oct 31, 2023 · 0 comments
Open

Comments

@zymeli
Copy link

zymeli commented Oct 31, 2023

我的数据库表都有外键,在-sync同步时,或导出的sql时,都没有
SET FOREIGN_KEY_CHECKS = 0;
在前面执行,导致外键约束相关出错,建议加上,或配置开关,谢谢。

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

No branches or pull requests

1 participant