migrate/1725242058_create_app_err_log.up.sql

11 lines
510 B
MySQL
Raw Normal View History

2024-09-02 10:08:30 +08:00
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 "错误链接",
2024-09-02 10:51:35 +08:00
`user_agent` varchar(255) COMMENT "代理",
2024-09-02 10:08:30 +08:00
`headers` text COMMENT "请求头",
2024-09-02 10:11:05 +08:00
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
2024-09-02 10:08:30 +08:00
PRIMARY KEY (`id`)
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='app错误日志';