summaryrefslogtreecommitdiff
path: root/db/post_migrate/20220921111840_remove_and_add_ci_instance_variables_raw_with_new_default.rb
blob: 019db1bbaa35868e6aeeed5ff39acab7cb25225f (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

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

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