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

20220921111857_remove_and_add_ci_pipeline_schedule_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: 159b0303d7150b4d64fbd965d5a474133bcf21fe (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

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

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