2019-07-11 20:41:04 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class AddTokenEncryptedToDeployTokens < ActiveRecord::Migration[5.1]
|
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
|
|
|
|
DOWNTIME = false
|
|
|
|
|
2020-04-21 15:21:10 +00:00
|
|
|
# rubocop:disable Migration/PreventStrings
|
2019-07-11 20:41:04 +00:00
|
|
|
def change
|
2019-08-27 02:44:28 +00:00
|
|
|
add_column :deploy_tokens, :token_encrypted, :string, limit: 255
|
2019-07-11 20:41:04 +00:00
|
|
|
end
|
2020-04-21 15:21:10 +00:00
|
|
|
# rubocop:enable Migration/PreventStrings
|
2019-07-11 20:41:04 +00:00
|
|
|
end
|