Commit ad30c69e authored by Tiger Watson's avatar Tiger Watson

Merge branch '343279-remove-evidence-summary' into 'master'

Remove summary from Finding Evidence

See merge request gitlab-org/gitlab!77710
parents c29e5b6d 44fa8380
# frozen_string_literal: true
class RemoveFindingEvidenceSummary < Gitlab::Database::Migration[1.0]
disable_ddl_transaction!
def up
remove_column :vulnerability_finding_evidences, :summary, :text
end
def down
add_column :vulnerability_finding_evidences, :summary, :text
add_text_limit :vulnerability_finding_evidences, :summary, 8_000_000
end
end
5304bc3dada6794c8f6e1082861e12fdfb059effdcd5a17e11af5300e67708bd
\ No newline at end of file
......@@ -20761,9 +20761,7 @@ CREATE TABLE vulnerability_finding_evidences (
created_at timestamp with time zone NOT NULL,
updated_at timestamp with time zone NOT NULL,
vulnerability_occurrence_id bigint NOT NULL,
summary text,
data jsonb DEFAULT '{}'::jsonb NOT NULL,
CONSTRAINT check_5773b236fb CHECK ((char_length(summary) <= 8000000))
data jsonb DEFAULT '{}'::jsonb NOT NULL
);
CREATE SEQUENCE vulnerability_finding_evidences_id_seq
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