Skip to content

Prepare foreign key constraints for bigint ci_pipelines.auto_canceled_by_id

Problem

This column references the ci_pipelines table and its column type is not bigint.

Process

This is part of the process to convert the column to bigint.

To be able to swap the columns, We will need to replicate the following foreign key constraints for the new bigint column ci_pipelines.auto_canceled_by_id_convert_to_bigint:

-fk_262d4c2d19

Follow the instruction, and choose a strategy to add the foreign key constraints based on the table size and the migration time.