Commit 8439b05d authored by Tiger Watson's avatar Tiger Watson

Merge branch 'add_security_scanners_into_approval_project_rules_table' into 'master'

Add security scanners column into

See merge request gitlab-org/gitlab!66114
parents cec62d8b ad8618b9
# 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