Skip to content
Snippets Groups Projects
Commit 80bcfafa authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Fix indexes

parent d35ae42a
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,6 @@ Meteor.startup ->
ChatMessage._ensureIndex({ 'expireAt': 1 }, { expireAfterSeconds: 0 })
ChatMessage._ensureIndex({ 'rid': 1 })
ChatMessage._ensureIndex({ 'rid': 1, 'ts': 1 })
ChatSubscription._ensureIndex({ 'uid': 1 })
ChatSubscription._ensureIndex({ 'u._id': 1 })
ChatSubscription._ensureIndex({ 'ts': 1 })
ChatSubscription._ensureIndex({ 'rid': 1, 'uid': 1 }, {unique: true})
ChatSubscription._ensureIndex({ 'rid': 1, 'u._id': 1 }, {unique: true})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment