changes to sms packages and option to create user
This commit is contained in:
+3
-1
@@ -3,9 +3,11 @@
|
||||
namespace App\Traits;
|
||||
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
trait Uuid
|
||||
{
|
||||
protected static function boot(){
|
||||
protected static function boot()
|
||||
{
|
||||
parent::boot();
|
||||
static::creating(function ($model) {
|
||||
$model->uuid = (string) Str::uuid();
|
||||
|
||||
Reference in New Issue
Block a user