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

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

class RemoveAndAddCiGroupVariablesRawWithNewDefault < Gitlab::Database::Migration[2.0]
  enable_lock_retries!

  def change
    remove_column :ci_group_variables, :raw, :boolean, null: false, default: true
    add_column :ci_group_variables, :raw, :boolean, null: false, default: false
  end
end