Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20181116141504_add_encrypted_runners_token_to_projects.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f6986fcdfeb23eec242786bfaa262dbce252fdee (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/AddLimitToStringColumns
  def change
    add_column :projects, :runners_token_encrypted, :string
  end
  # rubocop:enable Migration/AddColumnsToWideTables
  # rubocop:enable Migration/AddLimitToStringColumns
end