Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20210107194543_remove_alerts_service_records.rb')
-rw-r--r--db/post_migrate/20210107194543_remove_alerts_service_records.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/db/post_migrate/20210107194543_remove_alerts_service_records.rb b/db/post_migrate/20210107194543_remove_alerts_service_records.rb
deleted file mode 100644
index 51a2f96ac7f..00000000000
--- a/db/post_migrate/20210107194543_remove_alerts_service_records.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveAlertsServiceRecords < ActiveRecord::Migration[6.0]
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- class Service < ActiveRecord::Base
- self.table_name = 'services'
- end
-
- def up
- Service.delete_by(type: 'AlertsService')
- end
-
- def down
- # no-op
- end
-end