mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-18 13:05:07 +08:00
1. 验证码的单元测试
2. 修复 h2 脚本的问题
This commit is contained in:
@ -113,7 +113,7 @@ CREATE TABLE IF NOT EXISTS "sys_menu" (
|
||||
PRIMARY KEY ("id")
|
||||
) COMMENT '菜单权限表';
|
||||
|
||||
CREATE TABLE "sys_dict_type" (
|
||||
CREATE TABLE IF NOT EXISTS "sys_dict_type" (
|
||||
"id" bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY,
|
||||
"name" varchar(100) NOT NULL DEFAULT '',
|
||||
"type" varchar(100) NOT NULL DEFAULT '',
|
||||
@ -127,7 +127,7 @@ CREATE TABLE "sys_dict_type" (
|
||||
PRIMARY KEY ("id")
|
||||
) COMMENT '字典类型表';
|
||||
|
||||
CREATE TABLE `sys_user_session` (
|
||||
CREATE TABLE IF NOT EXISTS `sys_user_session` (
|
||||
`id` varchar(32) NOT NULL,
|
||||
`user_id` bigint DEFAULT NULL,
|
||||
`username` varchar(50) NOT NULL DEFAULT '',
|
||||
@ -191,7 +191,7 @@ CREATE TABLE IF NOT EXISTS `sys_login_log` (
|
||||
) COMMENT ='系统访问记录';
|
||||
|
||||
|
||||
CREATE TABLE `sys_operate_log` (
|
||||
CREATE TABLE IF NOT EXISTS `sys_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,
|
||||
@ -219,7 +219,7 @@ CREATE TABLE `sys_operate_log` (
|
||||
PRIMARY KEY (`id`)
|
||||
) COMMENT ='操作日志记录';
|
||||
|
||||
create table "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 '',
|
||||
|
Reference in New Issue
Block a user