This commit is contained in:
2025-06-12 10:20:26 +08:00
parent 96d537c044
commit b71e718308
40 changed files with 1961 additions and 108 deletions

View File

@@ -34,8 +34,6 @@ Table "sys_user_login_log" {
"id" BIGSERIAL [not null, increment]
"created_at" TIMESTAMPTZ [not null, default: `NOW()`, note: '创建时间']
"email" VARCHAR(100) [not null, note: '邮箱地址']
"username" VARCHAR(100) [not null, note: '用户名称']
"user_uuid" uuid [not null, note: '用户uuid']
"is_success" Boolean [not null, note: '是否登陆成功']
"message" VARCHAR(300) [not null, note: '登陆消息']
"referer_url" VARCHAR(500) [not null, note: '上一个链接']
@@ -48,7 +46,6 @@ Table "sys_user_login_log" {
id [pk]
created_at
email
username
}
}
@@ -56,8 +53,6 @@ Table "sys_audit_log" {
"id" BIGSERIAL [not null, increment]
"created_at" TIMESTAMPTZ [not null, default: `NOW()`, note: '创建时间']
"email" VARCHAR(100) [not null, note: '邮箱地址']
"username" VARCHAR(100) [not null, note: '用户名称']
"user_uuid" uuid [not null, note: '用户uuid']
"start_at" TIMESTAMPTZ [not null, note: '请求开始时间']
"end_at" TIMESTAMPTZ [not null, note: '请求结束时间']
"duration" VARCHAR(10) [not null, note: '请求总时间']
@@ -74,7 +69,6 @@ Table "sys_audit_log" {
id [pk]
created_at
email
username
}
}