From 16d4b168724295f2b81afb052c0ab2f76919e93c Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 10 Jun 2018 08:21:48 +0900 Subject: [PATCH] Revert ":v:" This reverts commit 951b2346ab5760490aa408f147cc17ce4548ca52. --- src/models/drive-file.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;