Added Test class to track benchmark groups

This commit is contained in:
2022-11-25 19:39:51 -05:00
parent 9a65b5f27a
commit ca62be49b6
12 changed files with 245 additions and 4 deletions

View File

@ -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);
}
}