| | |
| | | `data_length` int NULL DEFAULT 1 COMMENT '输入个数', |
| | | `model` int NULL DEFAULT 0 COMMENT '是否有model(0:否,1:是)', |
| | | `result_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '结果key', |
| | | `sort` integer, |
| | | PRIMARY KEY (`id`, `mpk_file_id`) USING BTREE, |
| | | INDEX `id`(`id` ASC) USING BTREE, |
| | | INDEX `del_method`(`mpk_file_id` ASC) USING BTREE, |
| | | INDEX `idx_method`(`mpk_file_id` ASC) USING BTREE, |
| | | CONSTRAINT `del_method` FOREIGN KEY (`mpk_file_id`) REFERENCES `t_mpk_file` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT |
| | | ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; |
| | | |
| | |
| | | `value_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '参数类型', |
| | | `max` int NULL DEFAULT NULL COMMENT '最大值', |
| | | `min` int NULL DEFAULT NULL COMMENT '最小值', |
| | | `sort` integer, |
| | | PRIMARY KEY (`id`, `method_id`) USING BTREE, |
| | | INDEX `del_setting`(`method_id` ASC) USING BTREE, |
| | | INDEX `id`(`id` ASC) USING BTREE, |
| | |
| | | `setting_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '参数id', |
| | | `select_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT 'key', |
| | | `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '名称', |
| | | `sort` integer, |
| | | PRIMARY KEY (`id`, `setting_id`) USING BTREE, |
| | | INDEX `del_select`(`setting_id` ASC) USING BTREE, |
| | | CONSTRAINT `del_select` FOREIGN KEY (`setting_id`) REFERENCES `t_mpk_method_setting` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT |
| | |
| | | PRIMARY KEY (`id`, `project_id`) USING BTREE, |
| | | INDEX `del_package_model`(`project_id` ASC) USING BTREE, |
| | | CONSTRAINT `del_package_model` FOREIGN KEY (`project_id`) REFERENCES `t_mpk_project` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT |
| | | ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '打包历史模型关联表' ROW_FORMAT = Dynamic; |
| | | ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '打包历史模型关联表' ROW_FORMAT = Dynamic; |
| | | |
| | | |
| | | DROP TABLE IF EXISTS `t_mpk_icon`; |
| | | CREATE TABLE `t_mpk_icon` ( |
| | | `id` varchar(36) NOT NULL COMMENT 'id', |
| | | `icon_name` varchar(36) NOT NULL COMMENT '图标名称', |
| | | `icon_desc` varchar(36) DEFAULT NULL COMMENT '图标描述', |
| | | `sort` integer DEFAULT NULL COMMENT '排序', |
| | | PRIMARY KEY (`id`) USING BTREE |
| | | ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'MDK平台图标' ROW_FORMAT = Dynamic; |
| | | |
| | | DROP TABLE IF EXISTS `t_mpk_file_menu`; |
| | | CREATE TABLE `t_mpk_file_menu` ( |
| | | `id` varchar(36) NOT NULL COMMENT 'id', |
| | | `name` varchar(36) NOT NULL COMMENT '名称', |
| | | `sort` integer DEFAULT NULL COMMENT '排序', |
| | | PRIMARY KEY (`id`) USING BTREE |
| | | ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '模型文件菜单' ROW_FORMAT = Dynamic; |
| | | |
| | | DROP TABLE IF EXISTS `t_mpk_file_group`; |
| | | CREATE TABLE `t_mpk_file_group` ( |
| | | `id` varchar(36) NOT NULL COMMENT 'id', |
| | | `menu_id` varchar(36) NOT NULL COMMENT '菜单', |
| | | `name` varchar(36) NOT NULL COMMENT '名称', |
| | | `sort` integer DEFAULT NULL COMMENT '排序', |
| | | PRIMARY KEY (`id`) USING BTREE |
| | | ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '模型文件分组' ROW_FORMAT = Dynamic; |