Skip to content

Commit

Permalink
chore: update indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
h-lunah committed Dec 18, 2024
1 parent 437bdf1 commit 1e1fbf9
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions firestore.indexes.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
{
"indexes": [
{
"collectionGroup": "conversations",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "targetUserId",
"order": "ASCENDING"
},
{
"fieldPath": "updatedAt",
"order": "DESCENDING"
}
]
},
{
"collectionGroup": "conversations",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "userId",
"order": "ASCENDING"
},
{
"fieldPath": "updatedAt",
"order": "DESCENDING"
}
]
},
{
"collectionGroup": "trends",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "createdAt",
"order": "ASCENDING"
},
{
"fieldPath": "counter",
"order": "DESCENDING"
}
]
},
{
"collectionGroup": "tweets",
"queryScope": "COLLECTION",
Expand Down Expand Up @@ -89,6 +131,7 @@
{
"collectionGroup": "bookmarks",
"fieldPath": "id",
"ttl": false,
"indexes": [
{
"order": "ASCENDING",
Expand Down

0 comments on commit 1e1fbf9

Please sign in to comment.