diff --git a/app/Models/Facilitator/Facilitator.php b/app/Models/Facilitator/Facilitator.php index 796b248..e167ba0 100644 --- a/app/Models/Facilitator/Facilitator.php +++ b/app/Models/Facilitator/Facilitator.php @@ -38,15 +38,15 @@ class Facilitator extends Model ]; // Boot method untuk otomatis mengisi UUID saat create - protected static function boot() - { - parent::boot(); - static::creating(function ($model) { - if (empty($model->id)) { - $model->id = (string) Str::uuid(); - } - }); - } + // protected static function boot() + // { + // parent::boot(); + // static::creating(function ($model) { + // if (empty($model->id)) { + // $model->id = (string) Str::uuid(); + // } + // }); + // } // Jika ingin menggunakan created_date dari JSON sebagai pengganti created_at Laravel const CREATED_AT = 'created_date';