-- name: SelectPublishTargetsOfSite :many
SELECT * FROM publish_targets WHERE site_id = ?;

-- name: InsertPublishTarget :one
INSERT INTO publish_targets (
    site_id,
    target_type,
    enabled,
    base_url,
    target_ref,
    target_key
) VALUES (?, ?, ?, ?, ?, ?)
RETURNING id;