修复缺少 user_type 导致的单元测试错误

This commit is contained in:
YunaiV
2022-02-12 00:28:21 +08:00
parent 128ee67925
commit 5dcf763f08
3 changed files with 18 additions and 12 deletions

View File

@ -1,5 +1,3 @@
-- sys 开头的 DB
CREATE TABLE IF NOT EXISTS "system_dept" (
"id" bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY,
"name" varchar(30) NOT NULL DEFAULT '',
@ -179,6 +177,7 @@ CREATE TABLE IF NOT EXISTS `system_operate_log` (
`id` bigint(20) NOT NULL GENERATED BY DEFAULT AS IDENTITY,
`trace_id` varchar(64) NOT NULL DEFAULT '',
`user_id` bigint(20) NOT NULL,
"user_type" tinyint not null default '0',
`module` varchar(50) NOT NULL,
`name` varchar(50) NOT NULL,
`operate_type` bigint(4) NOT NULL DEFAULT '0',