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

MySQL: Tables having FK references can't be populated because sqlfuzz doesn't go and populate the "parent" table first #26

Open
maksimovic opened this issue Apr 24, 2021 · 0 comments
Labels
bug Something isn't working hacktoberfest help wanted Extra attention is needed

Comments

@maksimovic
Copy link

Getting an error like

2021/04/24 14:58:51 Error 1452: Cannot add or update a child row: a foreign key constraint fails (`db`.`table`, CONSTRAINT `FK_something` FOREIGN KEY (`column_from_table`) REFERENCES `other_table` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)
@PumpkinSeed PumpkinSeed added the bug Something isn't working label May 2, 2021
@PumpkinSeed PumpkinSeed added help wanted Extra attention is needed hacktoberfest labels Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants