From 47548dcd11167ae84195d96a844321a971b32aa7 Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Wed, 8 Nov 2017 21:29:10 +0200 Subject: [PATCH] updated authlog index --- indexes.yaml | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/indexes.yaml b/indexes.yaml index a7446480..129192aa 100644 --- a/indexes.yaml +++ b/indexes.yaml @@ -102,6 +102,13 @@ indexes: user: 1 _id: -1 +- collection: authlog + type: users # index applies to users database + index: + name: user + key: + user: hashed + - collection: authlog type: users # index applies to users database index: diff --git a/package.json b/package.json index c63b3254..cae98d02 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "linkify-it": "2.0.3", "mailsplit": "4.0.2", "mobileconfig": "2.1.0", - "mongo-cursor-pagination": "^5.0.0", + "mongo-cursor-pagination": "5.0.0", "mongodb": "2.2.33", "nodemailer": "4.3.1", "npmlog": "4.1.2",