From 119eb3d94cd62a53f8e8920fcf7faf49955a6dbd Mon Sep 17 00:00:00 2001 From: tim-boost <34010899+tim-boost@users.noreply.github.com> Date: Wed, 3 Apr 2019 14:45:57 +1300 Subject: [PATCH] ADD INDEX TO ABSTRACT JOB COLLECTION (#107) --- app/models/abstract_job.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/abstract_job.rb b/app/models/abstract_job.rb index ef63f82f..72156340 100644 --- a/app/models/abstract_job.rb +++ b/app/models/abstract_job.rb @@ -7,7 +7,7 @@ class AbstractJob include Mongoid::Attributes::Dynamic include AASM - index status: 1, start_time: 1 + index status: 1, start_time: 1, created_at: 1, updated_at: 1, parser_id: 1 field :start_time, type: DateTime field :end_time, type: DateTime