浏览代码

[ENH] Add index on CardId into Comments collection

fmonthel 8 年之前
父节点
当前提交
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,