Browse Source

文件元数据表增加上传文件名字段

master
zmh 2 years ago
parent
commit
0d78da0337
  1. 9
      api/app/lib/models/metadata_file.js

9
api/app/lib/models/metadata_file.js

@ -113,6 +113,15 @@ module.exports = dc => {
primaryKey: false, primaryKey: false,
field: "catalogKey", field: "catalogKey",
autoIncrement: false autoIncrement: false
},
fileName: {
type: DataTypes.STRING,
allowNull: false,
defaultValue: null,
comment: null,
primaryKey: false,
field: "file_name",
autoIncrement: false
} }
}, { }, {
tableName: "t_metadata_file", tableName: "t_metadata_file",

Loading…
Cancel
Save