Ver Fonte

[ENH] Add index on CardId into Comments collection

fmonthel há 8 anos atrás
pai
commit
584ab26aee
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      models/cardComments.js

+ 1 - 1
models/cardComments.js

@@ -62,7 +62,7 @@ if (Meteor.isServer) {
   Meteor.startup(() => {
     CardComments._collection._ensureIndex({ cardId: 1, createdAt: -1 });
   });
-  
+
   CardComments.after.insert((userId, doc) => {
     Activities.insert({
       userId,