Added Test class to track benchmark groups
This commit is contained in:
@ -7,6 +7,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
class Result extends Model {
|
||||
|
||||
protected $fillable = [
|
||||
'test_id',
|
||||
'component',
|
||||
'benchmark',
|
||||
'type',
|
||||
@ -15,4 +16,8 @@ class Result extends Model {
|
||||
'maximum',
|
||||
];
|
||||
|
||||
public function test() {
|
||||
return $this->belongsTo(Test::class);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user