diff --git a/firestore.indexes.json b/firestore.indexes.json index d2b6856..077a143 100644 --- a/firestore.indexes.json +++ b/firestore.indexes.json @@ -166,7 +166,22 @@ "order": "ASCENDING" } ] + }, + { + "collectionGroup": "notifications", + "queryScope": "COLLECTION", + "fields": [ + { + "fieldPath": "recipientId", + "order": "ASCENDING" + }, + { + "fieldPath": "timestamp", + "order": "DESCENDING" + } + ] } ], + "fieldOverrides": [] } \ No newline at end of file