From 4922235796fb10a75adfa324658234caf1583b9c Mon Sep 17 00:00:00 2001 From: Russ Long Date: Mon, 8 Aug 2022 20:58:29 -0400 Subject: [PATCH] vehicle 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 a7012e6..3966687 100644 --- a/app/Models/VehicleScores.php +++ b/app/Models/VehicleScores.php @@ -27,6 +27,6 @@ class VehicleScores extends Model public function scoredVehicle() { - return $this->hasMany(Vehicles::class, 'vehicle'); + return $this->hasMany(Vehicles::class, 'owner'); } }