alter N+1 detection process

This commit is contained in:
Mark Gregory
2026-06-26 11:13:23 +01:00
parent 4ae70ba737
commit 788bb87b01
10 changed files with 117 additions and 10 deletions
+3
View File
@@ -36,6 +36,9 @@ final class Ticket extends Model
'sla_first_response_breached_at', 'sla_resolution_breached_at', 'public_replies_count', 'time_spent_minutes',
];
/** @var list<string> */
protected $with = ['user'];
/** @var array<string, string> */
protected $casts = [
'company_id' => 'integer',