Skip to content

Remove managing_group_id foreign key constraint

Thong Kuah requested to merge remove_managing_group_id_users_fk into master

What does this MR do and why?

Related issue: #409837 (closed), &8518

See &8518 (comment 1491312457)

Remove managing_group_id foreign key constraint

We cannot have a foreign key between a gitlab_main_clusterwide table (users), and a gitlab_main_cells table (namespaces).

The feature (group managed users) is end-of-life, so we remove the FK without replacement.

This is partly extracted from !124968 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Thong Kuah

Merge request reports