fix 修复 test 表租户id没有设置默认值问题

This commit is contained in:
疯狂的狮子Li
2023-04-12 22:18:29 +08:00
parent efc4f86d88
commit d868d6c8f1
4 changed files with 8 additions and 8 deletions

View File

@ -2,7 +2,7 @@ DROP TABLE if EXISTS test_demo;
create table if not exists test_demo
(
id int8,
tenant_id varchar(20) not null,
tenant_id varchar(20) default '000000',
dept_id int8,
user_id int8,
order_num int4 default 0,
@ -37,7 +37,7 @@ DROP TABLE if EXISTS test_tree;
create table if not exists test_tree
(
id int8,
tenant_id varchar(20) not null,
tenant_id varchar(20) default '000000',
parent_id int8 default 0,
dept_id int8,
user_id int8,