From 154ee06d70618f1bb0cfc745f71299eb11dad31a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Thu, 7 Mar 2024 15:08:56 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=20oracle=E4=B8=8Epostg?= =?UTF-8?q?res=20sql=E8=84=9A=E6=9C=AC=E7=A7=9F=E6=88=B7id=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/sql/oracle/flowable.sql | 4 ++-- script/sql/postgres/flowable.sql | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/script/sql/oracle/flowable.sql b/script/sql/oracle/flowable.sql index 308c7c479..3627f82a1 100644 --- a/script/sql/oracle/flowable.sql +++ b/script/sql/oracle/flowable.sql @@ -35,7 +35,7 @@ create table TEST_LEAVE CREATE_TIME DATE, UPDATE_BY NUMBER(20), UPDATE_TIME DATE, - TENANT_ID VARCHAR2(255) default '000000' + TENANT_ID VARCHAR2(20) default '000000' ); comment on table TEST_LEAVE is '请假申请表' @@ -64,7 +64,7 @@ create table WF_CATEGORY unique, PARENT_ID NUMBER(20), SORT_NUM NUMBER(10), - TENANT_ID NUMBER(20), + TENANT_ID VARCHAR2(20) default '000000' CREATE_DEPT NUMBER(20), CREATE_BY NUMBER(20), CREATE_TIME DATE, diff --git a/script/sql/postgres/flowable.sql b/script/sql/postgres/flowable.sql index aa68592b2..1b7ae9476 100644 --- a/script/sql/postgres/flowable.sql +++ b/script/sql/postgres/flowable.sql @@ -35,7 +35,7 @@ create table test_leave create_time timestamp, update_by bigint, update_time timestamp, - tenant_id varchar(20) + tenant_id varchar(20) default '000000'::varchar ); comment on table test_leave is '请假申请表'; @@ -76,7 +76,7 @@ create table wf_category category_code varchar(255), parent_id bigint, sort_num bigint, - tenant_id bigint, + tenant_id varchar(20) default '000000'::varchar, create_dept bigint, create_by bigint, create_time timestamp,