-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfirestore.indexes.json
More file actions
37 lines (37 loc) · 977 Bytes
/
firestore.indexes.json
File metadata and controls
37 lines (37 loc) · 977 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"indexes": [
{
"collectionGroup": "rooms",
"queryScope": "COLLECTION",
"fields": [
{ "fieldPath": "isPublic", "order": "ASCENDING" },
{ "fieldPath": "updatedAt", "order": "DESCENDING" }
]
},
{
"collectionGroup": "rooms",
"queryScope": "COLLECTION",
"fields": [
{ "fieldPath": "ownerId", "order": "ASCENDING" },
{ "fieldPath": "updatedAt", "order": "DESCENDING" }
]
},
{
"collectionGroup": "messages",
"queryScope": "COLLECTION",
"fields": [
{ "fieldPath": "conversationId", "order": "ASCENDING" },
{ "fieldPath": "timestamp", "order": "ASCENDING" }
]
},
{
"collectionGroup": "conversations",
"queryScope": "COLLECTION",
"fields": [
{ "fieldPath": "participants", "arrayConfig": "CONTAINS" },
{ "fieldPath": "lastActivity", "order": "DESCENDING" }
]
}
],
"fieldOverrides": []
}