2025.3.11

This commit is contained in:
2025-03-11 13:34:12 +08:00
commit 0b95eb8bf0
2161 changed files with 219203 additions and 0 deletions
@@ -0,0 +1,20 @@
<?php
namespace Illuminate\Database\Eloquent\Concerns;
use Illuminate\Support\Str;
trait HasVersion7Uuids
{
use HasUuids;
/**
* Generate a new UUID (version 7) for the model.
*
* @return string
*/
public function newUniqueId()
{
return (string) Str::uuid7();
}
}