FIX: fix content dependency on categories
This commit is contained in:
@@ -22,8 +22,12 @@ class ContentHistory extends Model
|
||||
'new_value',
|
||||
'old_value'
|
||||
];
|
||||
protected $guarded = [];
|
||||
|
||||
/**
|
||||
* Author of the change
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
*/
|
||||
public function author()
|
||||
{
|
||||
return $this->belongsTo(User::class, 'user_id');
|
||||
|
||||
Reference in New Issue
Block a user