-- name: GetConfigValue :one
SELECT value FROM config WHERE key = $1;

-- name: SetConfigValue :exec
INSERT INTO config (key, value) VALUES ($1, $2)
ON CONFLICT (key) DO UPDATE SET value = EXCLUDED.value;