public.document
[BASE TABLE]
id
[uuid]
contentful_id
[varchar(64)]
type
[varchar(255)]
public.document_approval
[BASE TABLE]
id
[uuid]
user_id
[uuid]
document_id
[uuid]
approved_at
[timestamp(0) with time zone]
FOREIGN KEY (document_id) REFERENCES document(id)