소스 검색

删除课程信息的名称字段

reloaded 5 년 전
부모
커밋
933fe3bbe3
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      app/model/lesson.js

+ 0 - 1
app/model/lesson.js

@@ -4,7 +4,6 @@ const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
 
 // 课程信息表
 const lessonInfo = new Schema({
-  name: { type: String, required: false, maxLength: 500 }, // 名称
   teacherid: { type: String, required: false, maxLength: 500 }, // 教师id
   subid: { type: String, required: false, maxLength: 200 }, // 科目id
   date: { type: String, required: false, maxLength: 500 }, // 日期