mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-25 20:51:30 -08:00
Commented model loading on asset model
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
1c1729854e
commit
8ac3937bf4
|
@ -60,6 +60,12 @@ class Asset extends Depreciable
|
|||
*/
|
||||
protected $table = 'assets';
|
||||
|
||||
/**
|
||||
* Leaving this commented out, since we need to test further, but this would eager load the model relationship every single
|
||||
* time the asset model is loaded.
|
||||
*/
|
||||
// protected $with = ['model'];
|
||||
|
||||
/**
|
||||
* Whether the model should inject it's identifier to the unique
|
||||
* validation rules before attempting validation. If this property
|
||||
|
|
Loading…
Reference in a new issue