Modified some views, routes and models to work with the new many-to-many for tests and benchmarks
This commit is contained in:
@ -17,11 +17,11 @@ class Test extends Model {
|
||||
}
|
||||
|
||||
public function benchmark() {
|
||||
return $this->belongsTo(Benchmark::class);
|
||||
return $this->belongsToMany(Benchmark::class);
|
||||
}
|
||||
|
||||
public function component() {
|
||||
return $this->belongsTo(Component::class);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user