Skip to content

Commit d50424f

Browse files
authored
Update HasUuids.php
1 parent c8cde1d commit d50424f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Database/Eloquent/Concerns/HasUuids.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static function bootHasUuids()
2929
*/
3030
public function newUniqueId()
3131
{
32-
return (string) Str::uuid();
32+
return (string) Str::orderedUuid();
3333
}
3434

3535
/**

0 commit comments

Comments
 (0)