Redefine broken foreign keys on p_ci_pipelines
What does this MR do and why?
Redefines the broken foreign keys on p_ci_pipelines
identified in #487947 (comment 2101608662)
The next step is to create background migrations to clear the data.
If we can't get the database locks for these migrations, they can marked as successful, except for db/post_migrate/20240917114903_partition_fk_for_p_ci_builds_and_p_ci_pipelines.rb
. This is a special case because the next migration(db/post_migrate/20240917115355_revert_add_fk_to_p_ci_pipelines_from_p_ci_builds.rb
) depends on it and it will have to be marked as successfully executed too.
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 #487947 (closed)