diff --git a/firestore.indexes.json b/firestore.indexes.json index 13af2901..17cf5109 100644 --- a/firestore.indexes.json +++ b/firestore.indexes.json @@ -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", @@ -89,6 +131,7 @@ { "collectionGroup": "bookmarks", "fieldPath": "id", + "ttl": false, "indexes": [ { "order": "ASCENDING",