From 8230404035d50cae2eaa5acb370d0d8dfcbfb102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=B0=8F=E7=8E=8B=E5=AD=90?= Date: Fri, 12 Apr 2024 21:14:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=91=E8=A1=A8=E4=B8=AD=E5=A2=9E=E5=8A=A0an?= =?UTF-8?q?cestors=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/sql/mysql/update.sql | 3 +++ script/sql/postgresql/update.sql | 3 +++ 2 files changed, 6 insertions(+) diff --git a/script/sql/mysql/update.sql b/script/sql/mysql/update.sql index d37187d..b055636 100644 --- a/script/sql/mysql/update.sql +++ b/script/sql/mysql/update.sql @@ -69,3 +69,6 @@ UPDATE `sys_role` SET `role_key`='SuperAdminRole' WHERE `role_id`=1; -- retry server控制台 insert into sys_menu values('130', 'EasyRetry控制台', '2', '6', 'easyretry', 'monitor/easyretry/index', '', 1, 0, 'C', '0', '0', 'monitor:easyretry:list', 'job', 103, 1, sysdate(), null, null, 'EasyRetry控制台菜单'); +-- 增加ancestors字段 +ALTER TABLE `mf_product` ADD COLUMN `ancestors` VARCHAR(760) NULL DEFAULT '' COMMENT '祖级列表' AFTER `parent_id`; +ALTER TABLE `demo_product` ADD COLUMN `ancestors` VARCHAR(760) NULL DEFAULT '' COMMENT '祖级列表' AFTER `parent_id`; diff --git a/script/sql/postgresql/update.sql b/script/sql/postgresql/update.sql index 5633c1e..b3e2c5c 100644 --- a/script/sql/postgresql/update.sql +++ b/script/sql/postgresql/update.sql @@ -130,3 +130,6 @@ UPDATE "public"."sys_role" SET "role_key"='SuperAdminRole' WHERE "role_id"=1; -- retry server控制台 insert into sys_menu values('130', 'EasyRetry控制台', '2', '6', 'easyretry', 'monitor/easyretry/index', '', '1', '0', 'C', '0', '0', 'monitor:easyretry:list', 'job', 103, 1, now(), null, null, 'EasyRetry控制台菜单'); +-- 增加ancestors字段 +ALTER TABLE "mf_product" ADD "ancestors" VARCHAR(760) NULL; +COMMENT ON COLUMN "mf_product"."ancestors" IS '祖级列表';