Commit ad8618b9 authored by Zamir Martins Filho's avatar Zamir Martins Filho Committed by Tiger Watson

Add security scanners column into

approval_project_rules table. nil
is supported for existing records.

Changelog: added
parent d68c8da0
# frozen_string_literal: true
class AddScannersColumnToApprovalProjectRules < ActiveRecord::Migration[6.1]
def up
add_column :approval_project_rules, :scanners, :text, array: true
end
def down
remove_column :approval_project_rules, :scanners
end
end
e2d7e54330f586bf31d953455b2ebac1fc9b6b24058a1cc7b277bc819ebf232a
\ No newline at end of file
......@@ -9669,7 +9669,8 @@ CREATE TABLE approval_project_rules (
project_id integer NOT NULL,
approvals_required smallint DEFAULT 0 NOT NULL,
name character varying NOT NULL,
rule_type smallint DEFAULT 0 NOT NULL
rule_type smallint DEFAULT 0 NOT NULL,
scanners text[]
);
CREATE TABLE approval_project_rules_groups (
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