We don't need to eager load metric points. Closes #1089
This commit is contained in:
@@ -78,13 +78,6 @@ class Metric extends Model implements HasPresenter
|
||||
'places' => 'numeric|min:0|max:4',
|
||||
];
|
||||
|
||||
/**
|
||||
* The relations to eager load on every query.
|
||||
*
|
||||
* @var string[]
|
||||
*/
|
||||
protected $with = ['points'];
|
||||
|
||||
/**
|
||||
* Metrics contain many metric points.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user