From 910ab0171228b54fc15ee7b6a2d02f2012ec5a14 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Mon, 8 Aug 2022 21:03:05 -0400 Subject: [PATCH] score relation --- app/Models/VehicleScores.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/VehicleScores.php b/app/Models/VehicleScores.php index d99d45a..b6df6b5 100644 --- a/app/Models/VehicleScores.php +++ b/app/Models/VehicleScores.php @@ -22,7 +22,7 @@ class VehicleScores extends Model public function judge() { - return $this->belongsTo('App\Models\Judges', 'judge', 'id'); + return $this->belongsTo(Judges::class, 'judge'); } public function scoredVehicle()