how to remove a collection from mongodb using mongoose and schema code example
Example: remove everything from mongodb databaase mongoose
await Challenge.deleteMany({})
await Own.deleteMany({})
await User.deleteMany({})
await Challenge.deleteMany({})
await Own.deleteMany({})
await User.deleteMany({})