From cb63ec50d2c6931c0201ea8212a67aefaecb4ba2 Mon Sep 17 00:00:00 2001 From: Deon George Date: Thu, 23 May 2024 21:31:17 +1000 Subject: [PATCH] Dont cache when doing debug:zone:check --- app/Console/Commands/Debug/ZoneCheck.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/Debug/ZoneCheck.php b/app/Console/Commands/Debug/ZoneCheck.php index 0d6e5aa..e5d6e46 100644 --- a/app/Console/Commands/Debug/ZoneCheck.php +++ b/app/Console/Commands/Debug/ZoneCheck.php @@ -25,7 +25,7 @@ class ZoneCheck extends Command $this->warn('Zone: '.$zo->zone_id); $this->info(sprintf('- Our address(es): %s',our_address($do)->pluck('ftn4d')->join(','))); - $this->table(['id','ftn','role','parent','children','downlinks','uplink','send from','region_id','system','notes'],$zo->addresses()->FTNorder()->active()->with(['system'])->get()->transform(function($item) { + $this->table(['id','ftn','role','parent','children','downlinks','uplink','send from','region_id','system','notes'],$zo->addresses()->FTNorder()->active()->with(['system'])->dontCache()->get()->transform(function($item) { return [ 'id'=>$item->id, 'ftn'=>$item->ftn4d,