Diffinery

homeflare/diffinerypublic

Open-source, agent-first GitHub and GitHub Actions alternative that runs on your own Cloudflare account: git hosting, pull requests, code review and drop-in GitHub Actions YAML on Workers, Durable Objects, R2 and Containers.

diffinery/apps/diffinery/migrations/0024_server_errors.sql
14 lines · 502 BRaw History
1-- Unexpected server errors (lib/server-errors.ts): the newest 500 answers with a 5xx status, for
2-- site administrators. `id` is the request id the answer carried. No request bodies, query
3-- strings or headers are kept.
4CREATE TABLE IF NOT EXISTS server_errors (
5 id TEXT PRIMARY KEY,
6 at TEXT NOT NULL,
7 method TEXT NOT NULL,
8 route TEXT,
9 path TEXT NOT NULL,
10 status INTEGER NOT NULL,
11 message TEXT NOT NULL,
12 stack TEXT
13);
14CREATE INDEX IF NOT EXISTS server_errors_at ON server_errors(at);