Skip to content

Update p_ci_builds partitions FKs to ci_stages to include partition_id

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

Merge request reports