From 01df6c07780b212c018f92841a6170ff1b7b433b Mon Sep 17 00:00:00 2001 From: "review512jwy@163.com" <“review512jwy@163.com”> Date: Wed, 8 Jul 2026 11:29:58 +0800 Subject: [PATCH] =?UTF-8?q?dashboard=5Fcorresponding=5Fsituation=5Fbig=5Fc?= =?UTF-8?q?lass=5Frel=E8=A1=A8sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../migration/V111__corresponding_situation_category.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 index 72c018f..43d0ad1 100644 --- 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 @@ -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)', - `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 '创建时间', `user_id` bigint DEFAULT NULL COMMENT '创建人ID', - PRIMARY KEY (`situation_id`, `category_id`) -) COMMENT='对应状况-设备类别关联表'; \ No newline at end of file + PRIMARY KEY (`situation_id`, `big_class_id`) +) COMMENT='对应状况-大类关联表'; \ No newline at end of file