Skip to content

Remove invalid foreign key fk_87f4cefcda_p

Marius Bobin requested to merge 436529-revert-upstream-pipeline into master

What does this MR do and why?

Remove invalid foreign key fk_87f4cefcda_p

The foreign key assumed that the pipelines were part of a parent-child relation, but this column is used by a different feature to mirror pipeline statuses across projects. In this feature it is possible for pipeline rows to have different partition ids, which is not permitted by the new FK and pipelines could break.

Changelog: fixed

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.

Screenshots or screen recordings

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

Before After

How to set up and validate locally

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

Related to #436529

Edited by Marius Bobin

Merge request reports