mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
Add statistic tracking
This commit is contained in:
@@ -0,0 +1 @@
|
||||
ALTER TABLE users ADD last_shared_at DATETIME;
|
||||
9
database/migrations/07_create_statistics_table.sql
Normal file
9
database/migrations/07_create_statistics_table.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE IF NOT EXISTS statistics (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
timestamp DATE,
|
||||
shared_sites INTEGER,
|
||||
shared_ports INTEGER,
|
||||
unique_shared_sites INTEGER,
|
||||
unique_shared_ports INTEGER,
|
||||
incoming_requests INTEGER
|
||||
)
|
||||
Reference in New Issue
Block a user