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

20200608214008_change_column_default_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: 1bfafb410c0048bf8b3780d713a119880ccbd266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

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

  def up
    change_column_default(:project_incident_management_settings, :create_issue, from: true, to: false)
  end

  def down
    change_column_default(:project_incident_management_settings, :create_issue, from: false, to: true)
  end
end