Update p_ci_builds partitions FKs to ci_stages to include partition_id
requested to merge 436526-update-referenced-fk-to-include-partition_id-for-ci_stages-new into master
What does this MR do and why?
4th step for partitioning ci_stages
This MR changes the referenced FK from p_ci_builds partitions to ci_stages in order for it to include the partition_id
column.
Migration Steps
- Add a foreign key to
ci_stages
for each partition, without validation - Validate each partition's foreign key (There is no option for async in the helper)
Related to #436526 (closed)
Edited by Panos Kanellidis