Commented model loading on asset model
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user