score relation

This commit is contained in:
Russ Long 2022-08-08 20:59:40 -04:00
parent 4922235796
commit 5cd5b84ebd

View File

@ -22,7 +22,7 @@ class VehicleScores extends Model
public function judge() public function judge()
{ {
return $this->belongsTo(Judges::class, 'judge', 'id'); return $this->belongsTo(Judges::class, 'judge_number', 'id');
} }
public function scoredVehicle() public function scoredVehicle()