1 changed files with 4 additions and 4 deletions
@ -1,7 +1,7 @@ |
|||||
CREATE TABLE `dashboard_corresponding_situation_category_rel` ( |
CREATE TABLE `dashboard_corresponding_situation_big_class_rel` ( |
||||
`situation_id` bigint NOT NULL COMMENT '对应状况一级节点ID(parent_id=-1)', |
`situation_id` bigint NOT NULL COMMENT '对应状况一级节点ID(parent_id=-1)', |
||||
`category_id` bigint NOT NULL COMMENT '设备类别ID(对应type.device_category_id)', |
`big_class_id` bigint NOT NULL COMMENT '设备大类ID(对应big_class)', |
||||
`created_at` bigint DEFAULT NULL COMMENT '创建时间', |
`created_at` bigint DEFAULT NULL COMMENT '创建时间', |
||||
`user_id` bigint DEFAULT NULL COMMENT '创建人ID', |
`user_id` bigint DEFAULT NULL COMMENT '创建人ID', |
||||
PRIMARY KEY (`situation_id`, `category_id`) |
PRIMARY KEY (`situation_id`, `big_class_id`) |
||||
) COMMENT='对应状况-设备类别关联表'; |
) COMMENT='对应状况-大类关联表'; |
||||
Loading…
Reference in new issue