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

@ -1,7 +1,7 @@
CREATE TABLE test_demo
(
id bigint NOT NULL,
tenant_id nvarchar(20) NOT NULL,
tenant_id nvarchar(20) DEFAULT ('000000') NULL,
dept_id bigint NULL,
user_id bigint NULL,
order_num int DEFAULT ((0)) NULL,
@ -128,7 +128,7 @@ GO
CREATE TABLE test_tree
(
id bigint NOT NULL,
tenant_id nvarchar(20) NOT NULL,
tenant_id nvarchar(20) DEFAULT ('000000') NULL,
parent_id bigint DEFAULT ((0)) NULL,
dept_id bigint NULL,
user_id bigint NULL,