From 3f4974a74c9f0e6143435b2f204d789c13c55a3d Mon Sep 17 00:00:00 2001 From: Sharon Dcruz Date: Mon, 4 Aug 2025 11:02:41 +0530 Subject: [PATCH] Chnages Updated --- firestore.indexes.json | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) 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",