Cells: Iteration 2: Convert FK between `routes` and `namespaces`
See epic: &11143 (closed) for details.
We need to convert the FK in routes.namespace_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 FK to loose foreign key
- Get pipeline green.
Edited by Manoj M J