Skip to content

Update AddColumnsToWideTables cop

Ref: #477398 (closed)

What does this MR do and why?

This MR does 2 things:

  • Update our existing cop to prevent adding columns on over_limit tables (>100GB)
  • Rename the cop to PreventAddingColumns

This is part of the new guidelines to contain our current growth.

https://docs.gitlab.com/ee/development/database/large_tables_limitations.html

Edited by Max Orefice

Merge request reports

Loading