From 9f01685278b1126a8e111c9043795a1904a36eda Mon Sep 17 00:00:00 2001 From: Sharon Dcruz Date: Tue, 19 Aug 2025 10:42:12 +0530 Subject: [PATCH] Added New Index --- firestore.indexes.json | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/firestore.indexes.json b/firestore.indexes.json index ef951a9..da30ef2 100644 --- a/firestore.indexes.json +++ b/firestore.indexes.json @@ -1,5 +1,19 @@ { "indexes": [ + { + "collectionGroup": "day_pass_bookings", + "queryScope": "COLLECTION", + "fields": [ + { + "fieldPath": "userId", + "order": "ASCENDING" + }, + { + "fieldPath": "createdAt", + "order": "DESCENDING" + } + ] + }, { "collectionGroup": "day_pass_entries", "queryScope": "COLLECTION", @@ -42,6 +56,34 @@ } ] }, + { + "collectionGroup": "gyms", + "queryScope": "COLLECTION", + "fields": [ + { + "fieldPath": "isApproved", + "order": "ASCENDING" + }, + { + "fieldPath": "createdAt", + "order": "ASCENDING" + } + ] + }, + { + "collectionGroup": "gyms", + "queryScope": "COLLECTION_GROUP", + "fields": [ + { + "fieldPath": "userId", + "order": "ASCENDING" + }, + { + "fieldPath": "createdAt", + "order": "DESCENDING" + } + ] + }, { "collectionGroup": "memberships", "queryScope": "COLLECTION",