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

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

class AddNullConstraintToTerraformStateName < ActiveRecord::Migration[6.0]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    change_column_null :terraform_states, :name, false
  end
end