mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-01-25 05:58:29 -06:00
9 lines
244 B
SQL
9 lines
244 B
SQL
-- name: WebhooksServiceCreateWebhook :one
|
|
INSERT INTO webhooks (
|
|
name, is_active, event_type, target_ids,
|
|
url, method, headers, body
|
|
) VALUES (
|
|
@name, @is_active, @event_type, @target_ids,
|
|
@url, @method, @headers, @body
|
|
) RETURNING *;
|