diff --git a/firestore.indexes.json b/firestore.indexes.json index 322da049..cc6c9447 100644 --- a/firestore.indexes.json +++ b/firestore.indexes.json @@ -14,6 +14,24 @@ } ] }, + { + "collectionGroup": "invitations", + "queryScope": "COLLECTION", + "fields": [ + { + "fieldPath": "user.clinician", + "order": "ASCENDING" + }, + { + "fieldPath": "user.organization", + "order": "ASCENDING" + }, + { + "fieldPath": "user.type", + "order": "ASCENDING" + } + ] + }, { "collectionGroup": "users", "queryScope": "COLLECTION",