Support the ongoing development of Laravel.io →
Database Eloquent Laravel
Last updated 6 months 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!

LaraJobs

Your banner here too?

Gaël Duval duvalg Joined 19 Apr 2022

Moderators

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

Your logo here?

Laravel.io

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

© 2023 Laravel.io - All rights reserved.