Shun Miyazawa пре 10 месеци
родитељ
комит
e1624b0bdc

+ 1 - 1
apps/app/src/migrations/20250522105040-delete-old-index-for-vector-store-file-relation.js

@@ -25,7 +25,7 @@ module.exports = {
     await mongoose.connect(getMongoUri(), mongoOptions);
 
     // Drop old index
-    dropIndexIfExists(db, 'vectorstorefilerelations', 'vectorStoreRelationId_1_page_1');
+    await dropIndexIfExists(db, 'vectorstorefilerelations', 'vectorStoreRelationId_1_page_1');
 
     // Create index
     const collection = mongoose.connection.collection('vectorstorefilerelations');