mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
Fix index creation
This commit is contained in:
parent
59799c7b19
commit
39762791a0
@ -3,7 +3,7 @@ import monkDb, { nativeDbConn } from '../../db/mongodb';
|
||||
|
||||
const collection = monkDb.get('drive_files.files');
|
||||
|
||||
(collection as any).createIndex('hash'); // fuck type definition
|
||||
(collection as any).createIndex('md5'); // fuck type definition
|
||||
|
||||
export default collection as any; // fuck type definition
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user