mongoose delete entire collection datas 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({})