# frozen_string_literal: true class SyncForeignKeyForCiSourcesPipelinesPipelineIdBigint < Gitlab::Database::Migration[2.1] TABLE_NAME = :ci_sources_pipelines COLUMN_NAME = :pipeline_id_convert_to_bigint FK_NAME = :fk_c1b5dc6b6f 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