mirror of
https://github.com/fergalmoran/onearmy-community-platform.git
synced 2025-12-22 09:37:54 +00:00
fix: firestore indexes
This commit is contained in:
@@ -514,9 +514,13 @@
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "ASCENDING"
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -532,6 +536,24 @@
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "ASCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "research_rev20201020",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "keywords",
|
||||
"arrayConfig": "CONTAINS"
|
||||
},
|
||||
{
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
@@ -582,50 +604,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "research_rev20201020",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "keywords",
|
||||
"arrayConfig": "CONTAINS"
|
||||
},
|
||||
{
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "research_rev20201020",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "keywords",
|
||||
"arrayConfig": "CONTAINS"
|
||||
},
|
||||
{
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "researchCategory._id",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "ASCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "research_rev20201020",
|
||||
"queryScope": "COLLECTION",
|
||||
@@ -668,10 +646,6 @@
|
||||
"fieldPath": "researchCategory._id",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "researchStatus",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "ASCENDING"
|
||||
@@ -708,6 +682,32 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "research_rev20201020",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "keywords",
|
||||
"arrayConfig": "CONTAINS"
|
||||
},
|
||||
{
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "researchCategory._id",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "researchStatus",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "ASCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "research_rev20201020",
|
||||
"queryScope": "COLLECTION",
|
||||
@@ -876,6 +876,32 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "research_rev20201020",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "keywords",
|
||||
"arrayConfig": "CONTAINS"
|
||||
},
|
||||
{
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "researchStatus",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "research_rev20201020",
|
||||
"queryScope": "COLLECTION",
|
||||
@@ -924,32 +950,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "research_rev20201020",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "keywords",
|
||||
"arrayConfig": "CONTAINS"
|
||||
},
|
||||
{
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "researchStatus",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "research_rev20201020",
|
||||
"queryScope": "COLLECTION",
|
||||
@@ -1094,6 +1094,24 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "research_rev20201020",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "research_rev20201020",
|
||||
"queryScope": "COLLECTION",
|
||||
@@ -1120,6 +1138,10 @@
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "researchCategory._id",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
@@ -1265,11 +1287,55 @@
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "researchStatus",
|
||||
"fieldPath": "researchCategory._id",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_created",
|
||||
"fieldPath": "totalCommentCount",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "research_rev20201020",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "researchCategory._id",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "totalUpdates",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "research_rev20201020",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "researchCategory._id",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "totalUsefulVotes",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
@@ -1300,6 +1366,28 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "research_rev20201020",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "researchStatus",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_created",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "research_rev20201020",
|
||||
"queryScope": "COLLECTION",
|
||||
@@ -1420,6 +1508,24 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "_createdBy",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
@@ -1460,6 +1566,10 @@
|
||||
"fieldPath": "_createdBy",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "category._id",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
@@ -1510,28 +1620,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "_createdBy",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "category._id",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
@@ -1698,6 +1786,28 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "category._id",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
@@ -1738,28 +1848,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "category._id",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
@@ -1826,6 +1914,28 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "keywords",
|
||||
"arrayConfig": "CONTAINS"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_createdBy",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
@@ -1878,6 +1988,10 @@
|
||||
"fieldPath": "_createdBy",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "category._id",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
@@ -1936,32 +2050,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "keywords",
|
||||
"arrayConfig": "CONTAINS"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_createdBy",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "category._id",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
@@ -2106,6 +2194,32 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "keywords",
|
||||
"arrayConfig": "CONTAINS"
|
||||
},
|
||||
{
|
||||
"fieldPath": "category._id",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
@@ -2154,32 +2268,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "keywords",
|
||||
"arrayConfig": "CONTAINS"
|
||||
},
|
||||
{
|
||||
"fieldPath": "category._id",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
@@ -2258,6 +2346,28 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "keywords",
|
||||
"arrayConfig": "CONTAINS"
|
||||
},
|
||||
{
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
@@ -2298,28 +2408,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "keywords",
|
||||
"arrayConfig": "CONTAINS"
|
||||
},
|
||||
{
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
@@ -2386,6 +2474,24 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
@@ -2418,24 +2524,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "moderation",
|
||||
"order": "ASCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_contentModifiedTimestamp",
|
||||
"order": "DESCENDING"
|
||||
},
|
||||
{
|
||||
"fieldPath": "_deleted",
|
||||
"order": "DESCENDING"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collectionGroup": "v3_howtos",
|
||||
"queryScope": "COLLECTION",
|
||||
|
||||
Reference in New Issue
Block a user