mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-05 02:54:34 -04:00
Fixes for N+1
This commit is contained in:
parent
5765dd697c
commit
a190c61a72
@ -28,6 +28,10 @@ class CompanyGateway extends BaseModel
|
|||||||
'deleted_at' => 'timestamp',
|
'deleted_at' => 'timestamp',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
protected $with = [
|
||||||
|
'gateway',
|
||||||
|
];
|
||||||
|
|
||||||
protected $fillable = [
|
protected $fillable = [
|
||||||
'gateway_key',
|
'gateway_key',
|
||||||
'accepted_credit_cards',
|
'accepted_credit_cards',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user