mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-24 03:23:08 +02:00
Improve perforance
This commit is contained in:
parent
2f598b8fa1
commit
b1655740df
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ const DriveFile = monkDb.get<IDriveFile>('driveFiles.files');
|
||||||
DriveFile.createIndex('md5');
|
DriveFile.createIndex('md5');
|
||||||
DriveFile.createIndex('metadata.uri');
|
DriveFile.createIndex('metadata.uri');
|
||||||
DriveFile.createIndex('metadata.userId');
|
DriveFile.createIndex('metadata.userId');
|
||||||
|
DriveFile.createIndex('metadata.folderId');
|
||||||
export default DriveFile;
|
export default DriveFile;
|
||||||
|
|
||||||
export const DriveFileChunk = monkDb.get('driveFiles.chunks');
|
export const DriveFileChunk = monkDb.get('driveFiles.chunks');
|
||||||
|
|
Loading…
Reference in a new issue