182_prompt_audit_full_prompt.sql 311 B

12345
  1. -- Retain the full (unredacted) prompt text on audit events so admins can
  2. -- review the exact content that triggered a finding. Scoped to events only:
  3. -- transient processing jobs keep storing redacted metadata.
  4. ALTER TABLE prompt_audit_events
  5. ADD COLUMN IF NOT EXISTS full_prompt TEXT NOT NULL DEFAULT '';