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