Skip to content

Commit

Permalink
Update firestore indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
petterhj committed Dec 7, 2023
1 parent 7b0bf9a commit d7ed972
Showing 1 changed file with 60 additions and 32 deletions.
92 changes: 60 additions & 32 deletions firestore.indexes.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,52 @@
}
]
},
{
"collectionGroup": "kpis",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "archived",
"order": "ASCENDING"
},
{
"fieldPath": "created",
"order": "ASCENDING"
}
]
},
{
"collectionGroup": "kpis",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "archived",
"order": "ASCENDING"
},
{
"fieldPath": "created",
"order": "DESCENDING"
}
]
},
{
"collectionGroup": "objectiveContributors",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "archived",
"order": "ASCENDING"
},
{
"fieldPath": "item",
"order": "ASCENDING"
},
{
"fieldPath": "objective",
"order": "ASCENDING"
}
]
},
{
"collectionGroup": "objectives",
"queryScope": "COLLECTION",
Expand Down Expand Up @@ -302,24 +348,6 @@
}
]
},
{
"collectionGroup": "objectiveContributors",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "archived",
"order": "ASCENDING"
},
{
"fieldPath": "item",
"order": "ASCENDING"
},
{
"fieldPath": "objective",
"order": "ASCENDING"
}
]
},
{
"collectionGroup": "secrets",
"queryScope": "COLLECTION",
Expand Down Expand Up @@ -406,8 +434,8 @@
]
},
{
"collectionGroup": "objectives",
"fieldPath": "createdBy",
"collectionGroup": "objectiveContributors",
"fieldPath": "auto",
"ttl": false,
"indexes": [
{
Expand All @@ -423,13 +451,13 @@
"queryScope": "COLLECTION"
},
{
"order": "ASCENDING",
"arrayConfig": "CONTAINS",
"queryScope": "COLLECTION_GROUP"
}
]
},
{
"collectionGroup": "periods",
"collectionGroup": "objectives",
"fieldPath": "createdBy",
"ttl": false,
"indexes": [
Expand All @@ -452,8 +480,8 @@
]
},
{
"collectionGroup": "products",
"fieldPath": "slug",
"collectionGroup": "periods",
"fieldPath": "createdBy",
"ttl": false,
"indexes": [
{
Expand All @@ -476,7 +504,7 @@
},
{
"collectionGroup": "products",
"fieldPath": "team",
"fieldPath": "slug",
"ttl": false,
"indexes": [
{
Expand All @@ -492,14 +520,14 @@
"queryScope": "COLLECTION"
},
{
"arrayConfig": "CONTAINS",
"order": "ASCENDING",
"queryScope": "COLLECTION_GROUP"
}
]
},
{
"collectionGroup": "progress",
"fieldPath": "createdBy",
"collectionGroup": "products",
"fieldPath": "team",
"ttl": false,
"indexes": [
{
Expand All @@ -515,14 +543,14 @@
"queryScope": "COLLECTION"
},
{
"order": "ASCENDING",
"arrayConfig": "CONTAINS",
"queryScope": "COLLECTION_GROUP"
}
]
},
{
"collectionGroup": "objectiveContributors",
"fieldPath": "auto",
"collectionGroup": "progress",
"fieldPath": "createdBy",
"ttl": false,
"indexes": [
{
Expand All @@ -538,7 +566,7 @@
"queryScope": "COLLECTION"
},
{
"arrayConfig": "CONTAINS",
"order": "ASCENDING",
"queryScope": "COLLECTION_GROUP"
}
]
Expand Down

0 comments on commit d7ed972

Please sign in to comment.