-- name: GetDocument :one
SELECT id, jobId FROM documents WHERE id = $1 LIMIT 1;

-- name: CreateDocument :one
INSERT INTO documents (jobId) VALUES ($1) RETURNING id;