fix 修复 oracle与postgres sql脚本租户id设置错误问题

This commit is contained in:
疯狂的狮子Li
2024-03-07 15:08:56 +08:00
parent 22d87c7c9d
commit 154ee06d70
2 changed files with 4 additions and 4 deletions

View File

@ -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,