blob: 11e8a856c11a8ead2cb1968dd8e13dc7fb0664b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
class AllowNullPipelineIdToDastPreScanVerification < Gitlab::Database::Migration[2.1]
def up
change_column_null :dast_pre_scan_verifications, :ci_pipeline_id, true
end
def down
# There may now be nulls in the table, so we cannot re-add the constraint here.
end
end
|