Skip to content

Draft: Resolve "Transition sbom_occurrences to loose foreign keys"

What does this MR do and why?

This MR is the first step in the decomposition of the sbom_occurrences table to the new gitlab_sec schema ahead of the sec db decomposition.

The idea is to keep the change set minimal, identify cross join issues to be worked moving forward, and configure loose foreign keys for relationships that will go beyond the bounds of a single DB. (EG: sbom_occurrences -> projects)

MR acceptance checklist

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

How to set up and validate locally

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

Related to #469536

Edited by Gregory Havenga

Merge request reports