# frozen_string_literal: true class SyncForeignKeyForCiSourcesPipelinesSourcePipelineIdBigint < Gitlab::Database::Migration[2.1] TABLE_NAME = :ci_sources_pipelines COLUMN_NAME = :source_pipeline_id_convert_to_bigint FK_NAME = :fk_1df371767f def up validate_foreign_key TABLE_NAME, COLUMN_NAME, name: FK_NAME end def down # Can be safely a no-op if we don't roll back the inconsistent data. end end