Skip to content

The only tool you need to know what is happening and how to fix it.

368 B
Raw Blame
CREATE TABLE IF NOT EXISTS device_authorizations (
    device_code_hash TEXT PRIMARY KEY,
    user_code TEXT NOT NULL UNIQUE,
    client_id TEXT NOT NULL,
    status TEXT NOT NULL DEFAULT 'pending',
    user_id INTEGER,
    interval_seconds INTEGER NOT NULL DEFAULT 5,
    last_polled_at DATETIME,
    expires_at DATETIME NOT NULL,
    created_at DATETIME NOT NULL
);