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

Warn about "ON DELETE RESTRICT" #10783

Open
greg0ire opened this issue Jun 21, 2023 · 0 comments
Open

Warn about "ON DELETE RESTRICT" #10783

greg0ire opened this issue Jun 21, 2023 · 0 comments

Comments

@greg0ire
Copy link
Member

As mentioned in #10763, ON DELETE RESTRICT might give a false sense of security if the ORM takes the initiative to do the removal on its own. Maybe we should look for such cases and warn against it in the validator?

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