Support the ongoing development of Laravel.io →
Database Eloquent Laravel
Last updated 2 weeks ago.
0

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.

0
Solution selected by @duvalg

Sign in to participate in this thread!

Cloudways

Your banner here too?

Gaël Duval Gaël Duval duvalg Joined 19 Apr 2022

Moderators

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.

© 2022 Laravel.io - All rights reserved.