Skip to content

Update FKs between p_ci_builds_metadata partitions and ci_builds

What does this MR do and why?

Related to #382033 (closed)

It updates the foreign keys between the partitions of the p_ci_builds_metadata routing table and ci_builds to include the partition_id column.

The plan is to add the not valid FKs to all partitions, validate them async, and then add the FK to the routing table.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

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.

Edited by Marius Bobin

Merge request reports