소스 검색

[ENH] Add index on CardId into Comments collection

fmonthel 9 년 전
부모
커밋
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,