public function clearOlderAudits()
{
$auditsHistoryCount = $this->audits()->count();
$auditsHistoryOlder = $auditsHistoryCount - $this->auditLimit;
if (isset($this->auditLimit) && $auditsHistoryOlder > 0) {
$this->audits()->orderBy('created_at', 'asc')->limit($auditsHistoryOlder)->delete();
}
}