Add index to Subscriptions ls

pull/2629/head
Rodrigo Nascimento 10 years ago
parent 5b32bccf3f
commit 10adc0e557
  1. 1
      packages/rocketchat-lib/server/models/Subscriptions.coffee

@ -8,6 +8,7 @@ RocketChat.models.Subscriptions = new class extends RocketChat.models._Base
@tryEnsureIndex { 'alert': 1 }
@tryEnsureIndex { 'unread': 1 }
@tryEnsureIndex { 'ts': 1 }
@tryEnsureIndex { 'ls': 1 }
# FIND ONE

Loading…
Cancel
Save