1 item tagged with "gorm".
Two users booked the same turf slot at the same time. Here's what was happening at the database level and how SELECT FOR UPDATE fixed it.