summaryrefslogtreecommitdiffstats
path: root/firestore.indexes.json
diff options
context:
space:
mode:
authorAlberto Duarte Delgado <alberto@albertoduarte.com>2026-04-01 18:01:50 +0100
committerAlberto Duarte Delgado <alberto@albertoduarte.com>2026-04-01 18:01:50 +0100
commitffb065bba517e060f5490913b12bcf858e904d75 (patch)
tree77aacbdb22a2896c7ab9224e703e24e6720ab6f1 /firestore.indexes.json
parent47538e50cbad770ddeb998904253afcdd51e20f6 (diff)
querys indexadas a proyecto, mejora de consultas y eas.json
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": []
+}