app/models/dc_journal.rb in drg_cms-0.6.1.9 vs app/models/dc_journal.rb in drg_cms-0.6.1.11
- old
+ new
@@ -53,8 +53,8 @@
field :ids, type: String
field :ip, type: String
field :time, type: DateTime
field :diff, type: String
- index( { user_id: 1, time: -1 } )
- index( { time: 1 } )
+ index user_id: 1
+ index doc_id: 1
end