-- name: GetConfig :one
SELECT ticket_key, ticket_id
FROM appconfig;

-- name: SetNewConfig :one
UPDATE appconfig
SET ticket_id = ticket_id + 1
RETURNING *;