Stop allowing FK references to org from setting

What does this MR do and why?

Stop allowing FK references to org from setting

It is not safe to have an FK reference from gitlab_main_cell_setting to an org schema (e.g. gitlab_main_org, or gitlab_main_user).

Sometime after an org migration, the org data rows will be cleaned up. Settings should outlive org data, so it is not safe to have the org data cascade delete the setting data.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading
Loading