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

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

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

  def up
    add_text_limit :project_settings, :product_analytics_instrumentation_key, 255
  end

  def down
    remove_text_limit :project_settings, :product_analytics_instrumentation_key
  end
end