alter N+1 detection process
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user