Skip to content

Commit

Permalink
ADD INDEX TO ABSTRACT JOB COLLECTION (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-boost authored Apr 3, 2019
1 parent 30e1995 commit 119eb3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/abstract_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 119eb3d

Please sign in to comment.