diff --git a/migrations/20241216212401-remove-documents-with-non-existent-users.js b/migrations/20241216212401-remove-documents-with-non-existent-users.js index 678954df..701b1bcf 100644 --- a/migrations/20241216212401-remove-documents-with-non-existent-users.js +++ b/migrations/20241216212401-remove-documents-with-non-existent-users.js @@ -13,7 +13,6 @@ module.exports = { if (nonExistingUsers.length > 0) { await db.collection(collectionName).deleteMany({ author: { $in: nonExistingUsers } }) } - console.log(`Removed ${nonExistingUsers.length} non-existing users from collection ${collectionName}`) } },