Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20200816133024_add_cve_id_request_project_setting.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c4fe86845eb5e1bd9643aca6f5021d094af64ea5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class AddCveIdRequestProjectSetting < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def up
    add_column :project_settings, :cve_id_request_enabled, :boolean, default: true, null: false
  end

  def down
    remove_column :project_settings, :cve_id_request_enabled
  end
end