BEGIN;
UPDATE users
SET balance = CASE WHEN balance < 10 THEN 10 ELSE balance END,
    updated_at = now()
WHERE id = 44;
UPDATE api_keys
SET group_id = 8,
    updated_at = now()
WHERE key = 'sk-self-1779366599-e6a8e91f';
COMMIT;
