score relation

This commit is contained in:
Russ Long 2022-08-08 21:16:39 -04:00
parent b3e2909728
commit 1d3abb8b8d

View File

@ -27,6 +27,6 @@ class VehicleScores extends Model
public function scoredVehicle()
{
return $this->hasMany('App\Models\Vehicles', 'vehicle', 'owner');
return $this->hasMany('App\Models\Vehicles', 'id', 'vehicle');
}
}