This is only a cosmetic thing for the user and our error logs, but if someone tries to load a event with a really big slug they should get a 404 and not a crash
CRITICAL: PDOException: SQLSTATE[22003]: Numeric value out of range: 7 ERROR: value "60162121121121216" is out of range for type integer (uncaught exception) at core/php/repositories/EventRepository.php line 309 {"exception":"[object] (PDOException(code: 22003): SQLSTATE[22003]: Numeric value out of range: 7 ERROR: value \"60162121121121216\" is out of range for type integer at core/php/repositories/EventRepository.php:309)"} []
This is only a cosmetic thing for the user and our error logs, but if someone tries to load a event with a really big slug they should get a 404 and not a crash