Support the ongoing development of →
Database Eloquent Laravel
Last updated 10 months ago.

Turns out the solution was to not use \Str::uuid() (which uses Ramsey\Uuid\Uuid::uuid4()) to create my models' UUID, but to use Ramsey\Uuid\Uuid::uuid6() instead. No more issues, everything works fine now.

Solution selected by @duvalg

Sign in to participate in this thread!


Your banner here too?

Gaël Duval duvalg Joined 19 Apr 2022


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 - All rights reserved.