-- name: GetRegistrationMode :one
SELECT mode FROM registration_settings WHERE id = true;

-- name: SetRegistrationMode :exec
UPDATE registration_settings SET mode = $1 WHERE id = true;
