-- name: CreateProjectFile :one
INSERT INTO project_files (id, name, path, project_id, created_user_id)
VALUES($1, $2, $3, $4, $5)
RETURNING *;

-- name: DeleteProjectFile :exec
DELETE FROM project_files
WHERE project_id = $1;

-- name: ListProjectFiles :many
SELECT * 
FROM project_files
WHERE project_id = $1
ORDER BY id;