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

Separate rule for TRUNCATE CASCADING #11495

Open
artman opened this issue Apr 2, 2024 · 0 comments
Open

Separate rule for TRUNCATE CASCADING #11495

artman opened this issue Apr 2, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@artman
Copy link

artman commented Apr 2, 2024

Is your feature request related to a problem?

We do want to make sure that SQL check catches all instances where TRUNCATE table CASCADE is called, but do want to allow creation of references that ON DELETE CASCADE

Describe the solution you'd like

I'd want the Prohibit using "CASCADE" option in DDL statements SQL check to be split up into two, or get options so that I can configure cascading foreign keys independently of cascading truncation.

Additional context

No response

@artman artman added the enhancement New feature or request label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants