Pārlūkot izejas kodu

[ENH] Add index on CardId into Comments collection

fmonthel 8 gadi atpakaļ
vecāks
revīzija
584ab26aee
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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,