Add index for new comments query

This commit is contained in:
Marshall Polaris 2022-09-20 14:39:32 -07:00
parent 8b9fe94fa9
commit ad6f86fc07

View File

@ -100,6 +100,20 @@
} }
] ]
}, },
{
"collectionGroup": "comments",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "userId",
"order": "ASCENDING"
},
{
"fieldPath": "createdTime",
"order": "ASCENDING"
}
]
},
{ {
"collectionGroup": "comments", "collectionGroup": "comments",
"queryScope": "COLLECTION_GROUP", "queryScope": "COLLECTION_GROUP",