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

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

class AddEncryptedStaticObjectsExternalStorageAuthToken < Gitlab::Database::Migration[1.0]
  def up
    # rubocop:disable Migration/AddLimitToTextColumns
    # limit is added in 20211126113029_add_text_limit_for_static_objects_external_storage_auth_token
    add_column :application_settings, :static_objects_external_storage_auth_token_encrypted, :text
    # rubocop:enable Migration/AddLimitToTextColumns
  end

  def down
    remove_column :application_settings, :static_objects_external_storage_auth_token_encrypted
  end
end