Add partition_id to ci_daily_build_group_report_results and backfill the values
Problem
In order to convert the primary key of ci_pipelines
to include partition_id
, we need to prepare the foreign keys in #436529 to include partition_id
. However, there is no column partition_id
on table ci_daily_build_group_report_results
.
Solution
- Add column
partition_id
with typebigint
- Backfill
ci_daily_build_group_report_results.partition_id
using the values fromci_pipelines