Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
8 lines
453 B
SQL
8 lines
453 B
SQL
-- What a guard decided about a request: the action (flagged, redacted,
|
|
-- blocked), the policy and category it was decided by, and how long it took.
|
|
-- Names only, never the text.
|
|
ALTER TABLE usage ADD COLUMN guard_action TEXT NOT NULL DEFAULT '';
|
|
ALTER TABLE usage ADD COLUMN guard_policy TEXT NOT NULL DEFAULT '';
|
|
ALTER TABLE usage ADD COLUMN guard_category TEXT NOT NULL DEFAULT '';
|
|
ALTER TABLE usage ADD COLUMN guard_ms INTEGER NOT NULL DEFAULT 0;
|