Improve wekan performance #837

This commit is contained in:
maulal 2017-02-18 02:18:39 +01:00 committed by Lauri Ojansivu
parent cd70076af2
commit cd6317cedb
4 changed files with 9 additions and 1 deletions

View file

@ -414,6 +414,9 @@ if (Meteor.isServer) {
_id: 1,
'members.userId': 1,
}, { unique: true });
Boards._collection._ensureIndex({
'members.userId': 1,
}, { unique: true });
});
// Genesis: the first activity of the newly created board