mirror of
https://github.com/wassname/talk.git
synced 2026-07-01 05:42:43 +08:00
Add suggested index to comments (#1740)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user