Explorar o código

[ENH] Add index on CardId into Comments collection

fmonthel %!s(int64=9) %!d(string=hai) anos
pai
achega
584ab26aee
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,