Commit fc60f4e3 authored by Steve Abrams's avatar Steve Abrams

Merge branch 'add_overriden_uuid_column' into 'master'

Add overridden_uuid column to security_findings

See merge request gitlab-org/gitlab!66689
parents f1dca5a3 ce5165d1
# frozen_string_literal: true
class AddOverriddenUuidToSecurityFindings < ActiveRecord::Migration[6.1]
include Gitlab::Database::MigrationHelpers
def up
with_lock_retries do
add_column :security_findings, :overridden_uuid, :uuid, null: true
end
end
def down
with_lock_retries do
remove_column :security_findings, :overridden_uuid
end
end
end
253a3520f05e252b6e6bbb3ef5f8af6c374c897ffa736c89fbea3089fdfa8fc4
\ No newline at end of file
......@@ -17924,6 +17924,7 @@ CREATE TABLE security_findings (
deduplicated boolean DEFAULT false NOT NULL,
"position" integer,
uuid uuid,
overridden_uuid uuid,
CONSTRAINT check_b9508c6df8 CHECK ((char_length(project_fingerprint) <= 40))
);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment