|
@@ -10,7 +10,7 @@ const video = new Schema({
|
|
|
});
|
|
|
const user = new Schema({
|
|
|
user_title: { type: String, maxLength: 500 }, // 用户名
|
|
|
- user_phone: { type: String, maxLength: 500, unique: true }, // 账号
|
|
|
+ user_phone: { type: String, maxLength: 500 }, // 账号
|
|
|
user_password: { type: String, required: true, maxLength: 500 }, // 密码
|
|
|
});
|
|
|
// 培训问诊表
|