diff --git a/src/models/drive-file.ts b/src/models/drive-file.ts index 5fa76f4bf..bb98c11a9 100644 --- a/src/models/drive-file.ts +++ b/src/models/drive-file.ts @@ -9,7 +9,7 @@ import User from './user'; import DriveFileThumbnail, { deleteDriveFileThumbnail } from './drive-file-thumbnail'; const DriveFile = monkDb.get('driveFiles.files'); -DriveFile.createIndex('md5', { sparse: true }); +DriveFile.createIndex('md5'); DriveFile.createIndex('metadata.uri', { sparse: true, unique: true }); export default DriveFile;