diff --git a/server/src/external/mongo/indexes.ts b/server/src/external/mongo/indexes.ts index e60162d9b..9641a1058 100644 --- a/server/src/external/mongo/indexes.ts +++ b/server/src/external/mongo/indexes.ts @@ -81,6 +81,7 @@ const staticIndexes: Partial> = { "user-private-information": [index({ userID: 1 }, UNIQUE), index({ email: 1 }, UNIQUE)], "fer-settings": [index({ userID: 1 }, UNIQUE)], counters: [index({ counterName: 1 }, UNIQUE)], + "class-achievements": [index({ game: 1, playtype: 1, timeAchieved: 1 })], }; const indexes: Partial> = staticIndexes;