comment('Clearing authentication log...'); $deleted = AuthenticationLog::where('login_at', '<', now()->subDays(config('authentication-log.purge'))->format('Y-m-d H:i:s'))->delete(); $this->info($deleted . ' authentication logs cleared.'); } }