CREATE TABLE documents (
    id uuid primary key DEFAULT gen_random_uuid(),
    jobId uuid not null,
    hash text not null,
    location text not null,
    foreign key (jobId) references jobs(id)
);