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