Ir al contenido

Table: audit_events

Esta página aún no está disponible en tu idioma.

ColumnTypeNullableNotes
iduuidnoDefault gen_random_uuid()
event_typetextno
occurred_attimestampnoDefault now()
subject_user_refbigintyes
actor_user_refbigintyes
ipinetyes
user_agenttextyes
metadatajsonbnoDefault '{}'::jsonb
legal_holdbooleannoDefault false
categorytextyes
CREATE TABLE public.audit_events (
id uuid DEFAULT gen_random_uuid() NOT NULL,
event_type text NOT NULL,
occurred_at timestamp with time zone DEFAULT now() NOT NULL,
subject_user_ref bigint,
actor_user_ref bigint,
ip inet,
user_agent text,
metadata jsonb DEFAULT '{}'::jsonb NOT NULL,
legal_hold boolean DEFAULT false NOT NULL,
category text GENERATED ALWAYS AS (split_part(event_type, '.'::text, 1)) STORED
);

Please see the schema overview for context. This document was last regenerated on 2026-07-26T08:25:29.520Z.