From 137aa8f2766b12c856741b7819041a8ec193fa10 Mon Sep 17 00:00:00 2001 From: "review512jwy@163.com" <“review512jwy@163.com”> Date: Wed, 8 Jul 2026 09:44:42 +0800 Subject: [PATCH] =?UTF-8?q?dashboard=5Fcorresponding=5Fsituation=5Fcategor?= =?UTF-8?q?y=5Frel=E8=A1=A8=E7=BB=93=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../migration/V111__corresponding_situation_category.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 data-center-business-controller/src/main/resources/db/migration/V111__corresponding_situation_category.sql 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