-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Cascade delete #4198
Comments
Same problem here. |
Hi, Thanks for reporting this! It has already been reported before, so I am going to close this as a duplicate of #2810 |
@pantharshit00 That means this guide is outdated and does not work anymore? https://www.prisma.io/docs/guides/database-workflows/cascading-deletes/mysql |
That guide should still work. This above case is kind of "limitation" of the query engine where is currently validates relations in memory before send the queries. |
@pantharshit00 the guide doesn't work for me. If I try this part (https://www.prisma.io/docs/guides/database-workflows/cascading-deletes/mysql#82-validating-cascade) I'm always getting the same error as above. |
MySQL foreign key is CASCADE, but using delete still shows
The text was updated successfully, but these errors were encountered: