diff --git a/firestore.indexes.json b/firestore.indexes.json index ae7170d..6f214a4 100644 --- a/firestore.indexes.json +++ b/firestore.indexes.json @@ -100,26 +100,22 @@ }, { - "collectionGroup": "notifications", + "collectionGroup": "workout_logs", "queryScope": "COLLECTION", "fields": [ { - "fieldPath": "type", + "fieldPath": "user_id", "order": "ASCENDING" }, { - "fieldPath": "userId", - "order": "ASCENDING" - }, - { - "fieldPath": "timestamp", + "fieldPath": "date", "order": "DESCENDING" } ] }, { - "collectionGroup": "notifications", + "collectionGroup": "workout_logs", "queryScope": "COLLECTION", "fields": [ { @@ -127,8 +123,8 @@ "order": "ASCENDING" }, { - "fieldPath": "timestamp", - "order": "DESCENDING" + "fieldPath": "date", + "order": "ASCENDING" } ] },