create type public.audit_kind as enum ( 'modify' , 'delete' , 'create' ); create table public.audit ( id int not null primary key generated always as identity , kind public.audit_kind not null );