created_by = $auth; $model->updated_by = $auth; }); static::updating(static function ($model) { $auth = Auth::id(); $model->updated_by = $auth; }); } }