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

-- name: InsertPublishTarget :one
INSERT INTO publish_targets (
    site_id,
    publish_target_type,
    base_url,
    target_site_id,
    target_publish_key
) VALUES (?, ?, ?, ?, ?)
RETURNING id;