Added options for setting the site targets

This commit is contained in:
Leon Mika 2025-02-03 21:13:25 +11:00
parent a31c8e48ce
commit cb45f6aa53
5 changed files with 74 additions and 21 deletions

View file

@ -12,4 +12,10 @@ INSERT INTO publish_targets (
url,
target_ref
) VALUES ($1, $2, $3, $4, $5)
RETURNING id;
RETURNING id;
-- name: UpdatePublishTarget :exec
UPDATE publish_targets SET
url = $2,
target_ref = $3
WHERE id = $1;