diff --git a/firestore.indexes.json b/firestore.indexes.json index 2c5a656..913b031 100644 --- a/firestore.indexes.json +++ b/firestore.indexes.json @@ -78,7 +78,7 @@ "fieldPath": "data.clientId", "order": "ASCENDING" }, - { + { "fieldPath": "type", "order": "ASCENDING" }, @@ -96,7 +96,7 @@ "fieldPath": "data.ownerId", "order": "ASCENDING" }, - { + { "fieldPath": "type", "order": "ASCENDING" }, @@ -114,7 +114,7 @@ "fieldPath": "data.trainerId", "order": "ASCENDING" }, - { + { "fieldPath": "type", "order": "ASCENDING" }, @@ -124,6 +124,25 @@ } ] }, + { + "collectionGroup": "notifications", + "queryScope": "COLLECTION", + "fields": [ + { + "fieldPath": "type", + "order": "ASCENDING" + }, + { + "fieldPath": "recipientId", + "order": "ASCENDING" + }, + { + "fieldPath": "timestamp", + "order": "DESCENDING" + } + ] + }, + { "collectionGroup": "workout_logs", "queryScope": "COLLECTION",