From 687d9716b38bf8376ca34b02de304a6f8949087c Mon Sep 17 00:00:00 2001 From: Sharon Dcruz Date: Wed, 20 Aug 2025 13:58:09 +0530 Subject: [PATCH] new Index added --- firestore.indexes.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/firestore.indexes.json b/firestore.indexes.json index 054170d..54f5709 100644 --- a/firestore.indexes.json +++ b/firestore.indexes.json @@ -56,6 +56,34 @@ } ] }, + { + "collectionGroup": "gyms", + "queryScope": "COLLECTION", + "fields": [ + { + "fieldPath": "userId", + "order": "ASCENDING" + }, + { + "fieldPath": "createdAt", + "order": "DESCENDING" + } + ] + }, + { + "collectionGroup": "gyms", + "queryScope": "COLLECTION", + "fields": [ + { + "fieldPath": "isApproved", + "order": "ASCENDING" + }, + { + "fieldPath": "createdAt", + "order": "ASCENDING" + } + ] + }, { "collectionGroup": "memberships", "queryScope": "COLLECTION",