feat(health): service_status cache table + repo

This commit is contained in:
root
2026-06-02 22:53:39 +10:00
parent 3ea34d9907
commit 5b05fd4730
3 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
-- 014_service_status.sql
CREATE TABLE service_status (
service_id text PRIMARY KEY,
status text NOT NULL CHECK (status IN ('ok','warn','down','unknown')),
latency_ms integer,
detail text,
checked_at timestamptz NOT NULL DEFAULT now()
);