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

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

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

  def up
    add_column :project_incident_management_settings, :auto_close_incident, :boolean, default: true, null: false
  end

  def down
    remove_column :project_incident_management_settings, :auto_close_incident
  end
end