Просмотр исходного кода

[ENH] Add index on CardId into Comments collection

fmonthel 9 лет назад
Родитель
Сommit
584ab26aee
1 измененных файлов с 1 добавлено и 1 удалено
  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,