Commented out extra index because of IndexOptionsConflict.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2021-10-09 16:11:19 +03:00 committed by Denis Perov
parent c926475eb1
commit 3c39953b42

View file

@ -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();
});