summaryrefslogtreecommitdiff
path: root/db/migrate/20230413153140_add_text_limit_to_project_settings_instrumentation_key.rb
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