summaryrefslogtreecommitdiff
path: root/db/post_migrate/20180216121030_enqueue_verify_pages_domain_workers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20180216121030_enqueue_verify_pages_domain_workers.rb')
-rw-r--r--db/post_migrate/20180216121030_enqueue_verify_pages_domain_workers.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/db/post_migrate/20180216121030_enqueue_verify_pages_domain_workers.rb b/db/post_migrate/20180216121030_enqueue_verify_pages_domain_workers.rb
deleted file mode 100644
index d776fb85f00..00000000000
--- a/db/post_migrate/20180216121030_enqueue_verify_pages_domain_workers.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-class EnqueueVerifyPagesDomainWorkers < ActiveRecord::Migration[4.2]
- class PagesDomain < ActiveRecord::Base
- include EachBatch
- end
-
- def up
- PagesDomain.each_batch do |relation|
- ids = relation.pluck(:id).map { |id| [id] }
- PagesDomainVerificationWorker.bulk_perform_async(ids)
- end
- end
-
- def down
- # no-op
- end
-end