debian-mirror-gitlab/db/migrate/20201109180311_add_secret_detection_revocation_token_types_application_settings.rb
2021-01-29 00:20:46 +05:30

14 lines
421 B
Ruby

# 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