Skip to content

Validate CHECK CONSTRAINT name length

Adam Hegyi requested to merge validate-check-constraint-name-length into master

What does this MR do?

This MR adds extra validation for the CHECK CONSTRAINT name to avoid truncated names. Truncated constraint names are hard to spot during the review, so it's better to validate it automatically.

Related issue: !32517 (comment 354160265)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Markus Koller

Merge request reports