Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
9 lines
508 B
SQL
9 lines
508 B
SQL
-- Ported from the SQLite migration of the same number.
|
|
-- 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 BIGINT NOT NULL DEFAULT 0;
|