From 9d24b5a9723c3d094d4d6b9d30938cc1c3590ce5 Mon Sep 17 00:00:00 2001 From: DhanshCOSQ Date: Wed, 2 Jul 2025 21:25:57 +0530 Subject: [PATCH] updated index --- firestore.indexes.json | 46 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/firestore.indexes.json b/firestore.indexes.json index 8d0c63f..5609cde 100644 --- a/firestore.indexes.json +++ b/firestore.indexes.json @@ -166,6 +166,52 @@ } ] }, + { + "collectionGroup": "workout_logs", + "queryScope": "COLLECTION", + "fields": [ + { + "fieldPath": "user_id", + "order": "ASCENDING" + }, + { + "fieldPath": "date", + "order": "DESCENDING" + } + ] + }, + { + "collectionGroup": "workout_logs", + "queryScope": "COLLECTION", + "fields": [ + { + "fieldPath": "user_id", + "order": "ASCENDING" + }, + { + "fieldPath": "date", + "order": "ASCENDING" + } + ] + }, + { + "collectionGroup": "workout_logs", + "queryScope": "COLLECTION", + "fields": [ + { + "fieldPath": "user_id", + "order": "ASCENDING" + }, + { + "fieldPath": "start_time", + "order": "ASCENDING" + }, + { + "fieldPath": "date", + "order": "ASCENDING" + } + ] + }, { "collectionGroup": "terms_and_conditions", "queryScope": "COLLECTION", -- 2.43.0