From f9a18592e9b21c3ea8164722fb58a688008bdf28 Mon Sep 17 00:00:00 2001 From: zhangminghua Date: Mon, 19 Dec 2022 16:54:57 +0800 Subject: [PATCH] =?UTF-8?q?(*)=E9=83=A8=E9=97=A8=E5=9F=B9=E8=AE=AD?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E8=A1=A8=E7=BB=93=E6=9E=84=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/models/dept_training.js | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/api/app/lib/models/dept_training.js b/api/app/lib/models/dept_training.js index 302b399..f1e50e2 100644 --- a/api/app/lib/models/dept_training.js +++ b/api/app/lib/models/dept_training.js @@ -113,6 +113,42 @@ module.exports = dc => { primaryKey: false, field: "origin", autoIncrement: false + }, + fileSize: { + type: DataTypes.STRING, + allowNull: true, + defaultValue: null, + comment: null, + primaryKey: false, + field: "filesize", + autoIncrement: false + }, + fileName: { + type: DataTypes.STRING, + allowNull: true, + defaultValue: null, + comment: null, + primaryKey: false, + field: "filename", + autoIncrement: false + }, + fileType: { + type: DataTypes.STRING, + allowNull: true, + defaultValue: null, + comment: null, + primaryKey: false, + field: "filetype", + autoIncrement: false + }, + updateDate: { + type: DataTypes.DATE, + allowNull: true, + defaultValue: null, + comment: null, + primaryKey: false, + field: "updatedate", + autoIncrement: false } }, { tableName: "dept_training",