xtablo-source/supabase/migrations/20260424110000_create_admin_audit_log.sql
2026-04-24 15:55:56 +02:00

12 lines
325 B
SQL

create table if not exists public.admin_audit_log (
id bigserial primary key,
operator_id text not null,
operator_email text not null,
role text not null,
action text not null,
target_type text not null,
target_id text not null,
before jsonb,
after jsonb,
created_at timestamptz not null default now()
);