app错误日志
This commit is contained in:
parent
d8d151b88a
commit
6a20cc387e
11
1725242058_create_app_err_log.up.sql
Normal file
11
1725242058_create_app_err_log.up.sql
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
create table `ufutx_app_error_logs` (
|
||||||
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
|
`user_id` bigint DEFAULT NULL COMMENT "用户id",
|
||||||
|
`message` text DEFAULT NULL COMMENT "错误信息",
|
||||||
|
`url` text DEFAULT NULL COMMENT "错误链接",
|
||||||
|
`user_agent` varchar(100) COMMENT "代理",
|
||||||
|
`headers` text COMMENT "请求头",
|
||||||
|
`created_at` timestamp,
|
||||||
|
`updated_at` timestamp,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='app错误日志';
|
Loading…
Reference in New Issue
Block a user