Skip to content

Commit

Permalink
Update assessment firestore indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
richford committed Jan 13, 2024
1 parent 6aae45b commit 885e08a
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions firebase/assessment/firestore.indexes.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,24 @@
}
]
},
{
"collectionGroup": "runs",
"queryScope": "COLLECTION_GROUP",
"fields": [
{
"fieldPath": "readOrgs.classes",
"arrayConfig": "CONTAINS"
},
{
"fieldPath": "assignmentId",
"order": "ASCENDING"
},
{
"fieldPath": "bestRun",
"order": "ASCENDING"
}
]
},
{
"collectionGroup": "runs",
"queryScope": "COLLECTION_GROUP",
Expand Down Expand Up @@ -560,6 +578,24 @@
}
]
},
{
"collectionGroup": "runs",
"queryScope": "COLLECTION_GROUP",
"fields": [
{
"fieldPath": "readOrgs.groups",
"arrayConfig": "CONTAINS"
},
{
"fieldPath": "assignmentId",
"order": "ASCENDING"
},
{
"fieldPath": "bestRun",
"order": "ASCENDING"
}
]
},
{
"collectionGroup": "runs",
"queryScope": "COLLECTION_GROUP",
Expand Down

0 comments on commit 885e08a

Please sign in to comment.