db/schema/010_audit.sql
2023-06-10 00:12:26 -05:00

11 lines
227 B
SQL

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
);