diff options
Diffstat (limited to 'db/migrate/20201021152210_add_secret_detection_token_revocation_application_settings.rb')
-rw-r--r-- | db/migrate/20201021152210_add_secret_detection_token_revocation_application_settings.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/db/migrate/20201021152210_add_secret_detection_token_revocation_application_settings.rb b/db/migrate/20201021152210_add_secret_detection_token_revocation_application_settings.rb deleted file mode 100644 index 6334dcd8c1a..00000000000 --- a/db/migrate/20201021152210_add_secret_detection_token_revocation_application_settings.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -class AddSecretDetectionTokenRevocationApplicationSettings < ActiveRecord::Migration[6.0] - DOWNTIME = false - - def up - add_column :application_settings, :secret_detection_token_revocation_enabled, :boolean, default: false, null: false - add_column :application_settings, :secret_detection_token_revocation_url, :text, null: true # rubocop:disable Migration/AddLimitToTextColumns - - add_column :application_settings, :encrypted_secret_detection_token_revocation_token, :text - add_column :application_settings, :encrypted_secret_detection_token_revocation_token_iv, :text - end - - def down - remove_column :application_settings, :secret_detection_token_revocation_enabled - remove_column :application_settings, :secret_detection_token_revocation_url - - remove_column :application_settings, :encrypted_secret_detection_token_revocation_token - remove_column :application_settings, :encrypted_secret_detection_token_revocation_token_iv - end -end |