diff options
Diffstat (limited to 'db/post_migrate/20210205213933_drop_alerts_service_data.rb')
-rw-r--r-- | db/post_migrate/20210205213933_drop_alerts_service_data.rb | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/db/post_migrate/20210205213933_drop_alerts_service_data.rb b/db/post_migrate/20210205213933_drop_alerts_service_data.rb deleted file mode 100644 index 6ad6c90290e..00000000000 --- a/db/post_migrate/20210205213933_drop_alerts_service_data.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -class DropAlertsServiceData < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - def up - with_lock_retries do - drop_table :alerts_service_data - end - end - - # rubocop:disable Migration/PreventStrings - def down - with_lock_retries do - create_table :alerts_service_data do |t| - t.bigint :service_id, null: false - t.timestamps_with_timezone - t.string :encrypted_token, limit: 255 - t.string :encrypted_token_iv, limit: 255 - end - end - end - # rubocop:enable Migration/PreventStrings -end |