From 4198dce4f0b419c1ec87f7bd885d0777a8d313f0 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期三, 25 十月 2023 15:37:41 +0800 Subject: [PATCH] fix 修复 新增校验主键id问题 --- script/sql/update/oracle/update_5.0-5.1.sql | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/script/sql/update/oracle/update_5.0-5.1.sql b/script/sql/update/oracle/update_5.0-5.1.sql index bf178ec..363d4ab 100644 --- a/script/sql/update/oracle/update_5.0-5.1.sql +++ b/script/sql/update/oracle/update_5.0-5.1.sql @@ -145,3 +145,7 @@ insert into sys_role_menu values ('2', '1063'); insert into sys_role_menu values ('2', '1064'); insert into sys_role_menu values ('2', '1065'); + + +update sys_dept set leader = null; +ALTER TABLE sys_dept MODIFY (leader NUMBER(20)) -- Gitblit v1.9.3