12 lines
319 B
Ruby
12 lines
319 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddVulnerabilitySeveritiesIntoApprovalProjectRules < ActiveRecord::Migration[6.1]
|
|
def up
|
|
add_column :approval_project_rules, :severity_levels, :text, array: true, null: false, default: []
|
|
end
|
|
|
|
def down
|
|
remove_column :approval_project_rules, :severity_levels
|
|
end
|
|
end
|