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

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

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

  def change
    change_column_default :application_settings, :protected_ci_variables, from: false, to: true
  end
end