The trait OwenIt\Auditing\Audit requires some properties which are not provided by OwenIt\Auditing\Models\Audit: $new_values, $url, $event, $auditable, $tags, $old_values, $user_agent, $ip_address, $user
Loading history...
11
12
/**
13
* {@inheritdoc}
14
*/
15
protected $guarded = [];
16
17
/**
18
* {@inheritdoc}
19
*/
20
protected $casts = [
21
'old_values' => 'json',
22
'new_values' => 'json',
23
// Note: Please do not add 'auditable_id' in here, as it will break non-integer PK models
24
];
25
26
32
protected function serializeDate(DateTimeInterface $date)