fix: persist coverage reference count

This commit is contained in:
姚章浩
2026-07-22 12:19:53 +08:00
parent a6569ee4bf
commit 913a65b16d
7 changed files with 34 additions and 5 deletions
@@ -13,6 +13,7 @@ CREATE TABLE IF NOT EXISTS coverage_decisions (
'uncovered_no_references',
'uncovered_explicit_no_answer'
)),
reference_count INTEGER NOT NULL DEFAULT 0 CHECK (reference_count >= 0),
top_score DOUBLE PRECISION NOT NULL DEFAULT 0,
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),