summaryrefslogtreecommitdiff
path: root/db/migrate/20181116141504_add_encrypted_runners_token_to_projects.rb
blob: f42239475f7078c9c3b9b24794bae2932646c52a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class AddEncryptedRunnersTokenToProjects < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  # rubocop:disable Migration/AddColumnsToWideTables
  # rubocop:disable Migration/PreventStrings
  def change
    add_column :projects, :runners_token_encrypted, :string
  end
  # rubocop:enable Migration/PreventStrings
  # rubocop:enable Migration/AddColumnsToWideTables
end