12 lines
325 B
SQL
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()
|
|
);
|