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'); } }