Swap primary key for ci_pipeline_variables
Swap the primary key including the partitioning key column. This can be done only after including the partition key for all references foreign keys.
https://docs.gitlab.com/ee/development/database/table_partitioning.html#step-5---swap-primary-key
Edited by Caroline Simpson