diff --git a/src/HasAuditors.php b/src/HasAuditors.php index ead7f25..638c5cc 100644 --- a/src/HasAuditors.php +++ b/src/HasAuditors.php @@ -17,6 +17,10 @@ */ trait HasAuditors { + protected static $logAttributesToIgnore = [ + 'created_by_id', 'created_by_type', 'updated_by_id', 'updated_by_type', 'deleted_by_id', 'deleted_by_type', + ]; + public static function bootHasAuditors() { static::creating(function ($model) {