Skip to content

Commit dc6cfae

Browse files
authored
feat: update HasUuids to use UUIDv7 instead of ordered UUID (#7644)
1 parent 223df68 commit dc6cfae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Concerns/HasUuids.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ trait HasUuids
2323
*/
2424
public function newUniqueId()
2525
{
26-
return (string) Str::orderedUuid();
26+
return (string) Str::uuidv7();
2727
}
2828

2929
/**

0 commit comments

Comments
 (0)