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

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

class AddNotNullToGcpConfigName < Gitlab::Database::Migration[2.1]
  disable_ddl_transaction!

  def up
    change_column_null :audit_events_google_cloud_logging_configurations, :name, false
  end

  def down
    change_column_null :audit_events_google_cloud_logging_configurations, :name, true
  end
end