mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 20:53:09 +02:00
parent
951b2346ab
commit
16d4b16872
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ import User from './user';
|
|||
import DriveFileThumbnail, { deleteDriveFileThumbnail } from './drive-file-thumbnail';
|
||||
|
||||
const DriveFile = monkDb.get<IDriveFile>('driveFiles.files');
|
||||
DriveFile.createIndex('md5', { sparse: true });
|
||||
DriveFile.createIndex('md5');
|
||||
DriveFile.createIndex('metadata.uri', { sparse: true, unique: true });
|
||||
export default DriveFile;
|
||||
|
||||
|
|
Loading…
Reference in a new issue