summaryrefslogtreecommitdiffstats
path: root/models/boards.js
diff options
context:
space:
mode:
Diffstat (limited to 'models/boards.js')
-rw-r--r--models/boards.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/models/boards.js b/models/boards.js
index 0f66e9d6..9323d690 100644
--- a/models/boards.js
+++ b/models/boards.js
@@ -414,9 +414,7 @@ if (Meteor.isServer) {
_id: 1,
'members.userId': 1,
}, { unique: true });
- Boards._collection._ensureIndex({
- 'members.userId': 1,
- }, { unique: true });
+ Boards._collection._ensureIndex({'members.userId': 1});
});
// Genesis: the first activity of the newly created board