lrf 2 rokov pred
rodič
commit
e9ecb9cfc6
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      app/model/user/student.js

+ 1 - 0
app/model/user/student.js

@@ -13,6 +13,7 @@ const student = {
   brief: { type: String, required: false, zh: '简介' }, //
   brief: { type: String, required: false, zh: '简介' }, //
   honer: { type: String, required: false, zh: '荣誉' }, //
   honer: { type: String, required: false, zh: '荣誉' }, //
   exp: { type: String, required: false, zh: '训练经历' }, //
   exp: { type: String, required: false, zh: '训练经历' }, //
+  birth: { type: String, zh: '出生日期' },
   user_id: { type: String, required: false, zh: '用户id', ref: 'User' }, //
   user_id: { type: String, required: false, zh: '用户id', ref: 'User' }, //
 };
 };
 const schema = new Schema(student, { toJSON: { virtuals: true } });
 const schema = new Schema(student, { toJSON: { virtuals: true } });