Files

7 lines
186 B
SQL

CREATE TABLE IF NOT EXISTS scheduler_state (
scope TEXT PRIMARY KEY,
tenants_json BLOB NOT NULL,
cursor INTEGER NOT NULL CHECK (cursor >= 0),
updated_at TEXT NOT NULL
);