Skip to content

Adds cop to enforce string limits on migrations

What does this MR do?

Adds cop to enforce string limits on migrations. This cop will analyze migrations that add columns with string, and report an offense if the string has no limit enforced.

Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/64505

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Related to #64505 (closed)

To do

  • Refactor and tests
  • Disable current offenses
Edited by Mayra Cabrera

Merge request reports