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

class AddSecretDetectionRevocationTokenTypesApplicationSettings < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def up
    add_column :application_settings, :secret_detection_revocation_token_types_url, :text, null: true # rubocop:disable Migration/AddLimitToTextColumns
  end

  def down
    remove_column :application_settings, :secret_detection_revocation_token_types_url
  end
end