score relation

This commit is contained in:
Russ Long 2022-08-08 21:00:52 -04:00
parent 5cd5b84ebd
commit 69bc4f3313

View File

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