debian-mirror-gitlab/db/migrate/20190711200508_add_token_encrypted_to_deploy_tokens.rb

14 lines
347 B
Ruby
Raw Normal View History

2019-12-04 20:38:33 +05:30
# frozen_string_literal: true
class AddTokenEncryptedToDeployTokens < ActiveRecord::Migration[5.1]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
2020-05-24 23:13:21 +05:30
# rubocop:disable Migration/PreventStrings
2019-12-04 20:38:33 +05:30
def change
add_column :deploy_tokens, :token_encrypted, :string, limit: 255
end
2020-05-24 23:13:21 +05:30
# rubocop:enable Migration/PreventStrings
2019-12-04 20:38:33 +05:30
end