Commit ce5165d1 authored by rossfuhrman's avatar rossfuhrman

Add overridden_uuid column to security_findings

Adds the overridden_uuid column to the security_findings table

Changelog: added
parent 26720aaf
# 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 ( ...@@ -17924,6 +17924,7 @@ CREATE TABLE security_findings (
deduplicated boolean DEFAULT false NOT NULL, deduplicated boolean DEFAULT false NOT NULL,
"position" integer, "position" integer,
uuid uuid, uuid uuid,
overridden_uuid uuid,
CONSTRAINT check_b9508c6df8 CHECK ((char_length(project_fingerprint) <= 40)) 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