debian-mirror-gitlab/db/migrate/20211126142354_add_text_limit_to_encrypted_static_object_token.rb
2022-01-26 12:08:38 +05:30

14 lines
302 B
Ruby

# 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