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 '祖级列表';