No double bookings, even under a race
Booking runs inside a PostgreSQL function that locks the slot row (SELECT … FOR UPDATE) before checking it. A partial unique index allows only one active booking per slot as a second safety net. If two players click at the same moment, one gets the session and the other gets a clear "already booked" error.