Initial commit: Sproutlink short URL system

This commit is contained in:
2026-06-18 20:08:22 +08:00
commit 45875e9feb
40 changed files with 11485 additions and 0 deletions

View 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);