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