diff --git a/data-center-business-controller/src/main/resources/db/migration/V111__corresponding_situation_category.sql b/data-center-business-controller/src/main/resources/db/migration/V111__corresponding_situation_category.sql new file mode 100644 index 0000000..72c018f --- /dev/null +++ b/data-center-business-controller/src/main/resources/db/migration/V111__corresponding_situation_category.sql @@ -0,0 +1,7 @@ +CREATE TABLE `dashboard_corresponding_situation_category_rel` ( + `situation_id` bigint NOT NULL COMMENT '对应状况一级节点ID(parent_id=-1)', + `category_id` bigint NOT NULL COMMENT '设备类别ID(对应type.device_category_id)', + `created_at` bigint DEFAULT NULL COMMENT '创建时间', + `user_id` bigint DEFAULT NULL COMMENT '创建人ID', + PRIMARY KEY (`situation_id`, `category_id`) +) COMMENT='对应状况-设备类别关联表'; \ No newline at end of file