`namespaces` table reached the 50 columns limit
For performance reasons, we try to limit the number of columns of a table (particularly for high-traffic ones), see more details on #201933 (closed).
!51800 (merged) added a new column into namespaces
, it was required for this new column to be on namespaces
and not on namespaces_settings
due to some tight logic (see !51800 (comment 489441963))). This effectively makes namespaces
have 50
columns which make it a wide table https://gitlab.com/gitlab-org/gitlab/-/blob/master/rubocop/migration_helpers.rb#L11
Proposal.
- Add
namespaces
toWIDE_TABLE
- This will probably make some CI jobs fail so we'll need to fix those as well.