|
@@ -5,7 +5,7 @@ const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
|
|
|
// 栏目表
|
|
|
const ColumnSchema = {
|
|
|
name: { type: String, required: true, maxLength: 500 }, // 栏目名称
|
|
|
- site: { type: String, required: true, maxLength: 500 }, // 栏目位置
|
|
|
+ site: { type: String, required: false, maxLength: 500 }, // 栏目位置
|
|
|
};
|
|
|
|
|
|
|