Skip to content

Update ci_resources FK to include partition_id

Marius Bobin requested to merge 382033-mb-update-ci_builds_ci_resources_fks into master

What does this MR do and why?

Related to #382033 (closed), it's another step to partition the ci_builds table.

It updates the foreign key between ci_resources and ci_builds to use the partitioning column. We don't need to use the multiple step process here because we don't have invalid data in production.

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.

Related to #382033 (closed)

Edited by Marius Bobin

Merge request reports