2019-11-19 01:06:07 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class AddSecretTokenToSnippet < ActiveRecord::Migration[5.2]
|
|
|
|
DOWNTIME = false
|
|
|
|
|
2020-04-21 11:21:10 -04:00
|
|
|
# rubocop:disable Migration/PreventStrings
|
2019-11-19 01:06:07 -05:00
|
|
|
def change
|
|
|
|
add_column :snippets, :encrypted_secret_token, :string, limit: 255
|
|
|
|
add_column :snippets, :encrypted_secret_token_iv, :string, limit: 255
|
|
|
|
end
|
2020-04-21 11:21:10 -04:00
|
|
|
# rubocop:enable Migration/PreventStrings
|
2019-11-19 01:06:07 -05:00
|
|
|
end
|