Skip to content

invalid-exclusion-constraint-name (NM006)#

Automatic fix is not available.

What it does#

Checks that the name of the exclusion constraint to be created is valid.

Why not?#

Naming conventions are crucial in database design as they offer consistency, clarity, and structure to the organization and accessibility of data within a database.

A good naming convention makes your code easier to read and understand.

When should you?#

Never.

Use instead:#

Name your exclusion constraint according to the set name convention.

Configuration#

regex-constraint-exclusion: Regex matching the naming convention for exclusion constraints.