From 14b190f8918e4e0aa175e0ee939ac02fecf702b3 Mon Sep 17 00:00:00 2001 From: Sharon Dcruz Date: Mon, 4 Aug 2025 11:13:42 +0530 Subject: [PATCH] Changes Updated --- firestore.indexes.json | 68 +++++++++++++----------------------------- 1 file changed, 20 insertions(+), 48 deletions(-) diff --git a/firestore.indexes.json b/firestore.indexes.json index 150acf4..4e84252 100644 --- a/firestore.indexes.json +++ b/firestore.indexes.json @@ -75,7 +75,7 @@ "queryScope": "COLLECTION", "fields": [ { - "fieldPath": "clientId", + "fieldPath": "data.clientId", "order": "ASCENDING" }, { @@ -89,7 +89,7 @@ "queryScope": "COLLECTION", "fields": [ { - "fieldPath": "clientId", + "fieldPath": "data.clientId", "order": "ASCENDING" }, { @@ -102,52 +102,6 @@ } ] }, - { - "collectionGroup": "notifications", - "queryScope": "COLLECTION", - "fields": [ - { - "fieldPath": "ownerId", - "order": "ASCENDING" - }, - { - "fieldPath": "timestamp", - "order": "DESCENDING" - } - ] - }, - { - "collectionGroup": "notifications", - "queryScope": "COLLECTION", - "fields": [ - { - "fieldPath": "ownerId", - "order": "ASCENDING" - }, - { - "fieldPath": "type", - "order": "ASCENDING" - }, - { - "fieldPath": "timestamp", - "order": "DESCENDING" - } - ] - }, - { - "collectionGroup": "notifications", - "queryScope": "COLLECTION", - "fields": [ - { - "fieldPath": "trainerId", - "order": "ASCENDING" - }, - { - "fieldPath": "timestamp", - "order": "DESCENDING" - } - ] - }, { "collectionGroup": "notifications", "queryScope": "COLLECTION", @@ -180,6 +134,24 @@ } ] }, + { + "collectionGroup": "notifications", + "queryScope": "COLLECTION", + "fields": [ + { + "fieldPath": "data.ownerId", + "order": "ASCENDING" + }, + { + "fieldPath": "type", + "order": "ASCENDING" + }, + { + "fieldPath": "timestamp", + "order": "DESCENDING" + } + ] + }, { "collectionGroup": "notifications", "queryScope": "COLLECTION",