📜  OverwriteModelError:编译后无法覆盖“消息”模型. - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:14.654000             🧑  作者: Mango

代码示例1
const Message = mongoose.model('users', EtudiantSchema);
//duplication problem =  just check that 'users' is not written in other models