diff --git a/app/Models/VehicleScores.php b/app/Models/VehicleScores.php index 614eac9..beb6750 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('App\Models\Vehicles', 'owner', 'vehicle'); + return $this->hasMany('App\Models\Vehicles', 'vehicle', 'owner'); } }