From cbe59ee4f1b8ee5734f25687d7d1386393dfd720 Mon Sep 17 00:00:00 2001 From: DhanshCOSQ Date: Wed, 2 Jul 2025 15:56:59 +0000 Subject: [PATCH] updated index (#67) Reviewed-on: https://git.cosqnet.com/cosqnet/fitlien-services/pulls/67 Co-authored-by: DhanshCOSQ Co-committed-by: DhanshCOSQ --- 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",