Initial commit: Sproutlink short URL system
This commit is contained in:
6
migrations/0002_page_views.sql
Normal file
6
migrations/0002_page_views.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
-- Cumulative page views (SPA: POST /api/pv increments)
|
||||
CREATE TABLE IF NOT EXISTS app_stats (
|
||||
id INTEGER PRIMARY KEY CHECK (id = 1),
|
||||
page_views INTEGER NOT NULL DEFAULT 0
|
||||
);
|
||||
INSERT OR IGNORE INTO app_stats (id, page_views) VALUES (1, 0);
|
||||
Reference in New Issue
Block a user