Skip to content

Add spec to validate we do not add more cross-database foreign keys

What does this MR do and why?

We are trying to remove all cross-database foreign keys in &7249 (closed) . Cross-database foreign keys are foreign keys that span the future decomposed ci and main databases. In an effort to avoid adding more while this work is ongoing it will help to have a spec in place to prevent it. This spec should also be kept after we finish that work to ensure nobody adds more cross-database foreign keys in future.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

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.

Related to #349737 (closed)

Merge request reports