Browse Source

Commented out extra index because of IndexOptionsConflict.

Thanks to xet7 !
Lauri Ojansivu 3 years ago
parent
commit
3c39953b42
1 changed files with 2 additions and 0 deletions
  1. 2 0
      models/users.js

+ 2 - 0
models/users.js

@@ -1666,6 +1666,7 @@ if (Meteor.isServer) {
     Users._collection.createIndex({
       modifiedAt: -1,
     });
+/* Commented out extra index because of IndexOptionsConflict.
     Users._collection.createIndex(
       {
         username: 1,
@@ -1674,6 +1675,7 @@ if (Meteor.isServer) {
         unique: true,
       },
     );
+*/
     Meteor.defer(() => {
       addCronJob();
     });