|
@@ -73,5 +73,6 @@ CREATE TABLE IF NOT EXISTS `diagram` (
|
|
`ts` timestamp default current_timestamp on update current_timestamp NOT NULL COMMENT '乐观锁',
|
|
`ts` timestamp default current_timestamp on update current_timestamp NOT NULL COMMENT '乐观锁',
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
KEY `idx_type_project_id_system_id` (`type`,`project_id`,`system_id`) USING BTREE,
|
|
KEY `idx_type_project_id_system_id` (`type`,`project_id`,`system_id`) USING BTREE,
|
|
- KEY `idx_project_id_system_id` (`project_id`,`system_id`) USING BTREE
|
|
|
|
|
|
+ KEY `idx_project_id_system_id` (`project_id`,`system_id`) USING BTREE,
|
|
|
|
+ KEY `idx_project_id_group_code` (`project_id`,`group_code`) USING BTREE
|
|
) ENGINE=InnoDB ROW_FORMAT=DYNAMIC COMMENT='系统图表结构';
|
|
) ENGINE=InnoDB ROW_FORMAT=DYNAMIC COMMENT='系统图表结构';
|