From 3aff2cd7f33aa5f79062295bb9700c6028ff065b Mon Sep 17 00:00:00 2001 From: Arkadiusz Bachorski <60391032+arkadiuszbachorski@users.noreply.github.com> Date: Tue, 12 Nov 2024 16:57:45 +0100 Subject: [PATCH] Add invitations index for home view --- firestore.indexes.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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",