1. 修复所有的单元测试

2. 最新的 sql 脚本
This commit is contained in:
YunaiV
2021-03-21 20:10:04 +08:00
parent b8857df7fe
commit 64b085ae0d
17 changed files with 104 additions and 1205 deletions

View File

@ -269,7 +269,7 @@ CREATE TABLE IF NOT EXISTS `sys_operate_log` (
PRIMARY KEY (`id`)
) COMMENT ='操作日志记录';
create table IF NOT EXISTS "sys_user" (
CREATE TABLE IF NOT EXISTS "sys_user" (
"id" bigint not null GENERATED BY DEFAULT AS IDENTITY,
"username" varchar(30) not null,
"password" varchar(100) not null default '',
@ -292,8 +292,7 @@ create table IF NOT EXISTS "sys_user" (
primary key ("id")
) comment '用户信息表';
create table "inf_api_access_log" (
CREATE TABLE IF NOT EXISTS "inf_api_access_log" (
"id" bigint not null GENERATED BY DEFAULT AS IDENTITY,
"trace_id" varchar(64) not null default '',
"user_id" bigint not null default '0',
@ -315,10 +314,9 @@ create table "inf_api_access_log" (
"update_time" timestamp not null default current_timestamp,
"deleted" bit not null default false,
primary key ("id")
) comment 'API 访问日志表';
) COMMENT 'API 访问日志表';
create table "inf_api_error_log" (
CREATE TABLE IF NOT EXISTS "inf_api_error_log" (
"id" integer not null GENERATED BY DEFAULT AS IDENTITY,
"trace_id" varchar(64) not null,
"user_id" bigint not null default '0',
@ -347,4 +345,4 @@ create table "inf_api_error_log" (
"update_time" timestamp not null default current_timestamp,
"deleted" bit not null default false,
primary key ("id")
) comment '系统异常日志';
) COMMENT '系统异常日志';