mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 21:47:10 -04:00
[ENH] Add index on CardId into Comments collection
This commit is contained in:
parent
f71d2538fa
commit
584ab26aee
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ if (Meteor.isServer) {
|
|||
Meteor.startup(() => {
|
||||
CardComments._collection._ensureIndex({ cardId: 1, createdAt: -1 });
|
||||
});
|
||||
|
||||
|
||||
CardComments.after.insert((userId, doc) => {
|
||||
Activities.insert({
|
||||
userId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue