-- name: ListSites :one
SELECT * FROM site;

-- name: GetSiteWithID :one
SELECT * FROM site WHERE id = $1 LIMIT 1;

-- name: NewSite :one
INSERT INTO site (
    name,
    title,
    url,
    theme,
    props
) VALUES ($1, $2, $3, $4, $5)
RETURNING id;