guhongwei преди 4 години
родител
ревизия
6ba6215034
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      app/model/imgtxtdock.js

+ 1 - 0
app/model/imgtxtdock.js

@@ -3,6 +3,7 @@ const Schema = require('mongoose').Schema;
 const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
 
 const images = new Schema({
+  name: { type: String, required: true, maxLength: 500 }, // 图片名称
   url: { type: String, required: true, maxLength: 500 }, // 图片路径
 });
 // 展会信息表