Commit 14ca0064 authored by Mehmet Emin INAC's avatar Mehmet Emin INAC

Add deduplicated column into security_findings table

parent cdd95537
# frozen_string_literal: true
class AddDeduplicatedFlagIntoSecurityFindingsTable < ActiveRecord::Migration[6.0]
DOWNTIME = false
def change
add_column :security_findings, :deduplicated, :boolean, default: false, null: false
end
end
0b01a251eb736eb9e9986214c69ea5f4a11d8293bc4083af1585ce265c8f69de
\ No newline at end of file
......@@ -15468,6 +15468,7 @@ CREATE TABLE public.security_findings (
severity smallint NOT NULL,
confidence smallint NOT NULL,
project_fingerprint text NOT NULL,
deduplicated boolean DEFAULT false NOT NULL,
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