Browse Source

Merge remote-tracking branch 'origin/dev' into dev

LiuHao 1 year ago
parent
commit
e7907a4664
2 changed files with 4 additions and 4 deletions
  1. 2 2
      script/sql/oracle/flowable.sql
  2. 2 2
      script/sql/postgres/flowable.sql

+ 2 - 2
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,

+ 2 - 2
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,