Explorar o código

删除问卷状态

liuyu %!s(int64=5) %!d(string=hai) anos
pai
achega
1780e496e0
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      app/model/questionnaire.js

+ 0 - 1
app/model/questionnaire.js

@@ -7,7 +7,6 @@ const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
 const QuestionnaireSchema = {
   name: { type: String, required: true, maxLength: 200 }, // 问卷名称
   num: { type: String, required: true, maxLength: 200 }, // 序号
-  status: { type: String, required: true, maxLength: 200, defalut: 0 }, // 状态0、开启1、关闭
   question: [ String ], // 问题code
 };