Add suggested index to comments (#1740)

This commit is contained in:
Nat Welch
2018-07-09 12:20:05 -04:00
committed by Wyatt Johnson
parent 66445aae59
commit cd0aeca87c
+6
View File
@@ -163,6 +163,12 @@ Comment.index({
created_at: -1,
});
Comment.index({
asset_id: 1,
parent_id: 1,
created_at: 1,
});
Comment.index(
{
'action_counts.flag': 1,