add visit sql table.
All checks were successful
Deploy / PullDocker (push) Successful in 7s
Deploy / Build (push) Successful in 1m14s

This commit is contained in:
amass 2024-07-29 00:00:00 +08:00
parent ec6a5b8fca
commit 9cb60abf34

View File

@ -1,5 +1,27 @@
## HttpServer
### 访问统计
表名visit_count
| 字段名 | 数据类型 | 空值约束 | 约束条件 |
| -------------------- | -------- | -------- | ----------- |
| id | INTEGER | NOT NULL | PRIMARY KEY |
| url | TEXT | NOT NULL | |
| page_view_count | INTEGER | NOT NULL | |
| unique_visitor_count | INTEGER | NOT NULL | |
表名today_visit_count
| 字段名 | 数据类型 | 空值约束 | PRIMARY KEY |
| --------------- | -------- | -------- | ----------- |
| id | INTEGER | NOT NULL | |
| url | TEXT | NOT NULL | |
| visitor_uuid | TEXT | NOT NULL | |
| page_view_count | INTEGER | NOT NULL | |
### 任务清单
| 字段名 | 数据类型 | 长度/精度 | 空值约束 | 默认值 | 约束条件 |