summaryrefslogtreecommitdiff
path: root/db/migrate/20211126113029_add_text_limit_for_static_objects_external_storage_auth_token.rb
blob: 45c4686e6749de1761c0946ed434aae1cd04dd83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true
class AddTextLimitForStaticObjectsExternalStorageAuthToken < Gitlab::Database::Migration[1.0]
  disable_ddl_transaction!

  def up
    add_text_limit :application_settings, :static_objects_external_storage_auth_token_encrypted, 255
  end

  def down
    remove_text_limit :application_settings, :static_objects_external_storage_auth_token_encrypted
  end
end