

-- 4. Tabla de IPs permitidas (whitelist)
CREATE TABLE IF NOT EXISTS allowed_ips (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    slug TEXT NOT NULL,
    ip_address TEXT NOT NULL,
    status TEXT DEFAULT 'pending',
    UNIQUE(slug, ip_address)
);
