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

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

class AddTextLimitToEncryptedStaticObjectToken < Gitlab::Database::Migration[1.0]
  disable_ddl_transaction!

  def up
    add_text_limit :users, :static_object_token_encrypted, 255
  end

  def down
    remove_text_limit :users, :static_object_token_encrypted
  end
end