From cf2287d43a3e6e6a87b799b484c1c6073226c1bf Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期二, 05 十一月 2024 18:17:31 +0800 Subject: [PATCH] MDK包名管理 --- iailab-module-model/iailab-module-model-biz/db/mysql.sql | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/db/mysql.sql b/iailab-module-model/iailab-module-model-biz/db/mysql.sql index ecd5752..3e0fc36 100644 --- a/iailab-module-model/iailab-module-model-biz/db/mysql.sql +++ b/iailab-module-model/iailab-module-model-biz/db/mysql.sql @@ -630,4 +630,15 @@ PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '模型文件分组' ROW_FORMAT = Dynamic; -alter table t_mm_predict_model add column `mpkprojectid` varchar(36) DEFAULT NULL; \ No newline at end of file +alter table t_mm_predict_model add column `mpkprojectid` varchar(36) DEFAULT NULL; + +DROP TABLE IF EXISTS `t_mpk_pack`; +CREATE TABLE `t_mpk_pack` ( + `id` varchar(36) NOT NULL COMMENT 'id', + `pack_name` varchar(50) NOT NULL COMMENT '包名称', + `pack_desc` varchar(50) DEFAULT NULL COMMENT '包描述', + `model_path` varchar(50) DEFAULT NULL COMMENT '模型路径', + `sort` integer DEFAULT NULL COMMENT '排序', + PRIMARY KEY (`id`) USING BTREE, + UNIQUE INDEX uk_pack_name (pack_name) +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'MDK包名管理' ROW_FORMAT = Dynamic; \ No newline at end of file -- Gitblit v1.9.3