blob: 630483ee1f801947e97d98f6100c00892def6e98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
class ValidateFkOnCiSourcesPipelinesSourcePartitionIdAndSourceJobId < Gitlab::Database::Migration[2.1]
TABLE_NAME = :ci_sources_pipelines
FK_NAME = :fk_be5624bf37_p
COLUMNS = [:source_partition_id, :source_job_id]
def up
validate_foreign_key(TABLE_NAME, COLUMNS, name: FK_NAME)
end
def down
# no-op
end
end
|