-- 0001_initial.sql
-- Bootstraps the broker metadata table. Real OAuth schema (clients,
-- auth_codes, access_tokens, refresh_tokens) lands in phase 2.

CREATE TABLE broker_meta (
    key   TEXT PRIMARY KEY,
    value TEXT NOT NULL
);

INSERT INTO broker_meta (key, value) VALUES
    ('schema_version', '1');
