Cells: Iteration 2: Convert FKs between `user_details` and `namespaces`
See epic: &11143 (closed) for details.
We need to convert the FK in user_details.enterprise_group_id
& user_details.provisioned_by_group_id
referencing namespaces
table to loose foreign key.
Failing spec for reference: https://gitlab.com/gitlab-org/gitlab/-/jobs/4796612578
Steps
- From
db/gitlab_schemas/gitlab_main_cell.yaml
- Remove:
allow_cross_foreign_keys: gitlab_main_clusterwide
. - Pipeline will fail
- Convert the FKs to loose foreign keys
- Get pipeline green.
Edited by Manoj M J