diff --git a/server/src/external/mongo/indexes.ts b/server/src/external/mongo/indexes.ts index 558ec96e8..e4de52a3f 100644 --- a/server/src/external/mongo/indexes.ts +++ b/server/src/external/mongo/indexes.ts @@ -106,6 +106,9 @@ const staticIndexes: Partial> = { index({ "data.hashSHA256": 1, playtype: 1 }, UNIQUE), index({ "data.hashMD5": 1, playtype: 1 }, UNIQUE), ], + "import-locks": [index({ userID: 1 }, UNIQUE)], + "arc-saved-profiles": [index({ userID: 1, forImportType: 1 }, UNIQUE)], + "score-blacklist": [index({ scoreID: 1 }, UNIQUE)], }; const indexes: Partial> = staticIndexes;