score relation
This commit is contained in:
parent
4922235796
commit
5cd5b84ebd
@ -22,7 +22,7 @@ class VehicleScores extends Model
|
||||
|
||||
public function judge()
|
||||
{
|
||||
return $this->belongsTo(Judges::class, 'judge', 'id');
|
||||
return $this->belongsTo(Judges::class, 'judge_number', 'id');
|
||||
}
|
||||
|
||||
public function scoredVehicle()
|
||||
|
Loading…
Reference in New Issue
Block a user