-- name: Ping :one
SELECT 1;

-- name: RegisterWorker :exec
INSERT INTO worker_register (worker_id)
VALUES (
    $1
);

-- name: UpdateWorkerHeartbeat :exec
UPDATE worker_register
SET
    heart_beat = now()
WHERE
    worker_id = $1;
