| | |
| | | KEY `index_chart_id` (`chart_id`), |
| | | CONSTRAINT `chart_id` FOREIGN KEY (`chart_id`) REFERENCES `t_chart` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='图表参数配置'; |
| | | |
| | | |
| | | 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; |