1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-06 02:38:11 +09:00

Revert "✌️"

This reverts commit 951b2346ab.
This commit is contained in:
syuilo 2018-06-10 08:21:48 +09:00
parent 951b2346ab
commit 16d4b16872

View File

@ -9,7 +9,7 @@ import User from './user';
import DriveFileThumbnail, { deleteDriveFileThumbnail } from './drive-file-thumbnail'; import DriveFileThumbnail, { deleteDriveFileThumbnail } from './drive-file-thumbnail';
const DriveFile = monkDb.get<IDriveFile>('driveFiles.files'); const DriveFile = monkDb.get<IDriveFile>('driveFiles.files');
DriveFile.createIndex('md5', { sparse: true }); DriveFile.createIndex('md5');
DriveFile.createIndex('metadata.uri', { sparse: true, unique: true }); DriveFile.createIndex('metadata.uri', { sparse: true, unique: true });
export default DriveFile; export default DriveFile;