Skip to content

Commit 37f0bf3

Browse files
committed
fix: moving new notification index out of fieldOverrides
1 parent 70ee5bc commit 37f0bf3

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

firestore.indexes.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,20 @@
731731
"order": "DESCENDING"
732732
}
733733
]
734+
},
735+
{
736+
"collectionGroup": "userNotificationFeed",
737+
"queryScope": "COLLECTION",
738+
"fields": [
739+
{
740+
"fieldPath": "notification.type",
741+
"order": "ASCENDING"
742+
},
743+
{
744+
"fieldPath": "notification.timestamp",
745+
"order": "ASCENDING"
746+
}
747+
]
734748
}
735749
],
736750
"fieldOverrides": [
@@ -786,20 +800,6 @@
786800
{ "queryScope": "COLLECTION", "order": "DESCENDING" },
787801
{ "queryScope": "COLLECTION", "arrayConfig": "CONTAINS" }
788802
]
789-
},
790-
{
791-
"collectionGroup": "userNotificationFeed",
792-
"queryScope": "COLLECTION",
793-
"fields": [
794-
{
795-
"fieldPath": "notification.type",
796-
"order": "ASCENDING"
797-
},
798-
{
799-
"fieldPath": "notification.timestamp",
800-
"order": "ASCENDING"
801-
}
802-
]
803803
}
804804
]
805805
}

0 commit comments

Comments
 (0)