From 26a9ff2b1f507718998a7f60c223b7063aea0e0b Mon Sep 17 00:00:00 2001 From: wenlele Date: Mon, 20 Jun 2022 17:28:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=B2=E7=AA=81=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/VideoAccess-VCMP/api/app/lib/models/camera.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/code/VideoAccess-VCMP/api/app/lib/models/camera.js b/code/VideoAccess-VCMP/api/app/lib/models/camera.js index 6912d71..0168a47 100644 --- a/code/VideoAccess-VCMP/api/app/lib/models/camera.js +++ b/code/VideoAccess-VCMP/api/app/lib/models/camera.js @@ -246,7 +246,16 @@ module.exports = dc => { key: "id", model: "secretYingshi" } - } + }, + gbId: { + type: DataTypes.INTEGER, + allowNull: true, + defaultValue: null, + comment: null, + primaryKey: false, + field: "gb_id", + autoIncrement: false, + }, }, { tableName: "camera", comment: "",