mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
ハッシュ値はMongoDB側で管理されているから手動でインデックスを明示する必要はなさそうだ
This commit is contained in:
parent
39762791a0
commit
e471a9e8b9
@ -3,8 +3,6 @@ import monkDb, { nativeDbConn } from '../../db/mongodb';
|
||||
|
||||
const collection = monkDb.get('drive_files.files');
|
||||
|
||||
(collection as any).createIndex('md5'); // fuck type definition
|
||||
|
||||
export default collection as any; // fuck type definition
|
||||
|
||||
const getGridFSBucket = async (): Promise<mongodb.GridFSBucket> => {
|
||||
|
Loading…
Reference in New Issue
Block a user