summaryrefslogtreecommitdiff
path: root/db/migrate/20190711200508_add_token_encrypted_to_deploy_tokens.rb
blob: dff682e8ce7a7f340c5878e792bba6ac4ba97b18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class AddTokenEncryptedToDeployTokens < ActiveRecord::Migration[5.1]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  # rubocop:disable Migration/PreventStrings
  def change
    add_column :deploy_tokens, :token_encrypted, :string, limit: 255
  end
  # rubocop:enable Migration/PreventStrings
end