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

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!

Eventy

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.

© 2024 Laravel.io - All rights reserved.