summaryrefslogtreecommitdiffstats
path: root/firestore.indexes.json
diff options
context:
space:
mode:
Diffstat (limited to 'firestore.indexes.json')
-rw-r--r--firestore.indexes.json45
1 files changed, 45 insertions, 0 deletions
diff --git a/firestore.indexes.json b/firestore.indexes.json
new file mode 100644
index 0000000..16fdc81
--- /dev/null
+++ b/firestore.indexes.json
@@ -0,0 +1,45 @@
+{
+ "indexes": [
+ {
+ "collectionGroup": "reservations",
+ "queryScope": "COLLECTION",
+ "fields": [
+ {
+ "fieldPath": "userId",
+ "order": "ASCENDING"
+ },
+ {
+ "fieldPath": "date",
+ "order": "ASCENDING"
+ },
+ {
+ "fieldPath": "startTime",
+ "order": "ASCENDING"
+ }
+ ]
+ },
+ {
+ "collectionGroup": "reservations",
+ "queryScope": "COLLECTION",
+ "fields": [
+ {
+ "fieldPath": "officeId",
+ "order": "ASCENDING"
+ },
+ {
+ "fieldPath": "date",
+ "order": "ASCENDING"
+ },
+ {
+ "fieldPath": "status",
+ "order": "ASCENDING"
+ },
+ {
+ "fieldPath": "startTime",
+ "order": "ASCENDING"
+ }
+ ]
+ }
+ ],
+ "fieldOverrides": []
+}