-- Migration 019: Rate limit counters shared by all server processes (v2.11.0) -- One row per key and time window; see starpunk/rate_limiter.py SharedRateLimiter. CREATE TABLE IF NOT EXISTS rate_limits ( key TEXT NOT NULL, window INTEGER NOT NULL, count INTEGER NOT NULL DEFAULT 0, PRIMARY KEY (key, window) );