From c859fa4c38cc027cb7005dcb5c504ffc89430e33 Mon Sep 17 00:00:00 2001 From: songgaoshuai <1742057357@qq.com> Date: 星期五, 29 三月 2024 15:59:48 +0800 Subject: [PATCH] update 调整自定义任务 --- script/sql/update/oracle/update_5.0-5.1.sql | 8 ++++++-- 1 files changed, 6 insertions(+), 2 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 54cff5d..363d4ab 100644 --- a/script/sql/update/oracle/update_5.0-5.1.sql +++ b/script/sql/update/oracle/update_5.0-5.1.sql @@ -20,7 +20,7 @@ email varchar2(255) default '', avatar varchar2(500) default '', access_token varchar2(255) not null, - expire_in number(100) default null, + expire_in number(20) default null, refresh_token varchar2(255) default null, access_code varchar2(255) default null, union_id varchar2(255) default null, @@ -93,7 +93,7 @@ create_time date, update_by number(20) default null, update_time date -) +); alter table sys_client add constraint pk_sys_client primary key (id); @@ -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