Created
November 13, 2018 11:04
-
-
Save mhenrixon/b3360c119fc1ee644a26e52a9e3a1b90 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.assets.ensureIndex({"tags.callname": 1, "tags.tags": 1}, {background: true}) | |
// index [['tags.callname', 1, ['tags.tags', 1]], { background: true } | |
db.permalinks.ensureIndex({"linkable_uuid": 1, "_current": 1}, {background: true}) | |
db.matches.ensureIndex({"id": 1, "_id": 1}, {background: true}) | |
db.live_events.ensureIndex({"asset_id": 1, "asset_version": 1, "_id": 1}, {background: true}) | |
db.mediafiles.ensureIndex({"match_id": 1, "filename": 1}, {background: true}) | |
db.users.ensureIndex({"confirmation_token": 1}, {background: true}) | |
db.assets.ensureIndex({"match_id": 1, "created_at": 1}, {background: true}) | |
db.orders.ensureIndex({"customer_id": 1, "order_status": 1}, {background: true}) | |
db.matches.ensureIndex({"sport_id": 1, "name": 1, "starts_at" -1 }, {background: true}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment