Skip to content

Commit

Permalink
extra index
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianovide committed Jun 11, 2021
1 parent 9a58e80 commit 719155b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions firestore.indexes.json
Expand Up @@ -23,6 +23,14 @@
{ "fieldPath": "published", "mode": "ASCENDING" },
{ "fieldPath": "updated", "mode": "DESCENDING" }
]
},
{
"collectionGroup": "photos",
"queryScope": "COLLECTION",
"fields": [
{ "fieldPath": "published", "mode": "ASCENDING" },
{ "fieldPath": "updated", "mode": "ASCENDING" }
]
}
]
}
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -19,7 +19,7 @@
"start": "./scripts/runWithVars.sh 'react-scripts start'",
"start:secure": "./scripts/runWithVars.sh 'HTTPS=true react-scripts start'",
"start:prod": "firebase emulators:start --only hosting",
"deploy": "firestore deploy",
"deploy": "firebase deploy",
"prepare": "husky install"
},
"repository": {
Expand Down

0 comments on commit 719155b

Please sign in to comment.