Skip to content

Commit

Permalink
Update firestore indices for gse-roar-admin
Browse files Browse the repository at this point in the history
  • Loading branch information
richford committed Aug 24, 2024
1 parent b0073cd commit 045289d
Showing 1 changed file with 116 additions and 0 deletions.
116 changes: 116 additions & 0 deletions firebase/admin/firestore.indexes.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
{
"indexes": [
{
"collectionGroup": "administrations",
"queryScope": "COLLECTION_GROUP",
"fields": [
{
"fieldPath": "testData",
"order": "ASCENDING"
},
{
"fieldPath": "name",
"order": "ASCENDING"
}
]
},
{
"collectionGroup": "administrations",
"queryScope": "COLLECTION",
Expand Down Expand Up @@ -3128,6 +3142,20 @@
}
]
},
{
"collectionGroup": "users",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "classes.current",
"arrayConfig": "CONTAINS"
},
{
"fieldPath": "name",
"order": "ASCENDING"
}
]
},
{
"collectionGroup": "users",
"queryScope": "COLLECTION",
Expand Down Expand Up @@ -3338,6 +3366,20 @@
}
]
},
{
"collectionGroup": "users",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "districts.current",
"arrayConfig": "CONTAINS"
},
{
"fieldPath": "name",
"order": "ASCENDING"
}
]
},
{
"collectionGroup": "users",
"queryScope": "COLLECTION",
Expand Down Expand Up @@ -3730,6 +3772,20 @@
}
]
},
{
"collectionGroup": "users",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "groups.current",
"arrayConfig": "CONTAINS"
},
{
"fieldPath": "name",
"order": "ASCENDING"
}
]
},
{
"collectionGroup": "users",
"queryScope": "COLLECTION",
Expand Down Expand Up @@ -3926,6 +3982,20 @@
}
]
},
{
"collectionGroup": "users",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "schools.current",
"arrayConfig": "CONTAINS"
},
{
"fieldPath": "name",
"order": "ASCENDING"
}
]
},
{
"collectionGroup": "users",
"queryScope": "COLLECTION",
Expand Down Expand Up @@ -4188,6 +4258,29 @@
}
]
},
{
"collectionGroup": "administrations",
"fieldPath": "name",
"ttl": false,
"indexes": [
{
"order": "ASCENDING",
"queryScope": "COLLECTION"
},
{
"order": "DESCENDING",
"queryScope": "COLLECTION"
},
{
"arrayConfig": "CONTAINS",
"queryScope": "COLLECTION"
},
{
"order": "ASCENDING",
"queryScope": "COLLECTION_GROUP"
}
]
},
{
"collectionGroup": "administrations",
"fieldPath": "readOrgs",
Expand Down Expand Up @@ -4260,6 +4353,29 @@
}
]
},
{
"collectionGroup": "administrations",
"fieldPath": "testData",
"ttl": false,
"indexes": [
{
"order": "ASCENDING",
"queryScope": "COLLECTION"
},
{
"order": "DESCENDING",
"queryScope": "COLLECTION"
},
{
"arrayConfig": "CONTAINS",
"queryScope": "COLLECTION"
},
{
"order": "ASCENDING",
"queryScope": "COLLECTION_GROUP"
}
]
},
{
"collectionGroup": "assignments",
"fieldPath": "assigningOrgs",
Expand Down

0 comments on commit 045289d

Please sign in to comment.