diff --git a/firestore.indexes.json b/firestore.indexes.json index ef951a9..c4bf41d 100644 --- a/firestore.indexes.json +++ b/firestore.indexes.json @@ -1,15 +1,15 @@ { "indexes": [ { - "collectionGroup": "day_pass_entries", + "collectionGroup": "gyms", "queryScope": "COLLECTION", "fields": [ { - "fieldPath": "bookingId", + "fieldPath": "userId", "order": "ASCENDING" }, { - "fieldPath": "entryDate", + "fieldPath": "name", "order": "ASCENDING" } ] @@ -24,20 +24,20 @@ }, { "fieldPath": "createdAt", - "order": "ASCENDING" + "order": "DESCENDING" } ] }, { "collectionGroup": "gyms", - "queryScope": "COLLECTION", + "queryScope": "COLLECTION_GROUP", "fields": [ { - "fieldPath": "userId", + "fieldPath": "isApproved", "order": "ASCENDING" }, { - "fieldPath": "name", + "fieldPath": "createdAt", "order": "ASCENDING" } ]