diff --git a/src/models/drive-file.ts b/src/models/drive-file.ts index 4b87b26a8c..fad6a3ef70 100644 --- a/src/models/drive-file.ts +++ b/src/models/drive-file.ts @@ -12,6 +12,7 @@ const DriveFile = monkDb.get('driveFiles.files'); DriveFile.createIndex('md5'); DriveFile.createIndex('metadata.uri'); DriveFile.createIndex('metadata.userId'); +DriveFile.createIndex('metadata.folderId'); export default DriveFile; export const DriveFileChunk = monkDb.get('driveFiles.chunks');