Skip to content

Don't force encrypted database columns to have a text limit

What does this MR do?

Text columns which start with encrypted_ are usually used by attr_encrypted which controls the text limit size.

This MR tweaks the 👮 Migration/AddLimitToTextColumns to not to complain about these kind of columns to avoid confusion for both authors and reviewers.

Follow-up of !42978 (comment 430193135).

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 Peter Leitzen

Merge request reports