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…
Reference in New Issue