score relation

This commit is contained in:
Russ Long 2022-08-08 21:15:22 -04:00
parent 4f751c32b0
commit b3e2909728

View File

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