-- name: CreateOrUpdateGamePlayers :batchexec
INSERT INTO game_players(
   game_id,
   player_slug,
   status,
   team_slug)
VALUES(
    $1,
    $2,
    $3,
    $4)
  ON CONFLICT (game_id, player_slug) DO UPDATE
  SET status = $3,
      team_slug = $4;

