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

20191025092748_add_secret_token_to_snippet.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0649f58d23e5b41cb4bfbb35f8072742e77195f4 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

class AddSecretTokenToSnippet < ActiveRecord::Migration[5.2]
  DOWNTIME = false

  def change
    add_column :snippets, :encrypted_secret_token, :string, limit: 255
    add_column :snippets, :encrypted_secret_token_iv, :string, limit: 255
  end
end