Skip to content

Commit

Permalink
Index updates
Browse files Browse the repository at this point in the history
  • Loading branch information
snarvaez committed Apr 16, 2024
1 parent cba97a2 commit 8cabec6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions deployment/game_database/indexes.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
db.recordings.createIndex({ "DateTime": 1 });
db.players.createIndex({ "location":1, "Nickname": 1});

db.recordings.createIndex({ "DateTime": 1 });
db.recordings.createIndex({ "location":1, "Event._id":1, "Player.Nickname": 1});
db.recordings.createIndex({ "Player.Nickname": 1,"Event._id": 1 });
db.recordings.createIndex({ "Player.Nickname": 1,"Event._id": 1 });
db.recordings.createIndex({ "location":1, "Event._id":1, "SessionStatisticsPlain.Score":-1, "Player.Nickname": 1}, {name:"ix_event_leaderboard"});

0 comments on commit 8cabec6

Please sign in to comment.