vehicle score relation
This commit is contained in:
parent
be12b4756d
commit
4922235796
@ -27,6 +27,6 @@ class VehicleScores extends Model
|
|||||||
|
|
||||||
public function scoredVehicle()
|
public function scoredVehicle()
|
||||||
{
|
{
|
||||||
return $this->hasMany(Vehicles::class, 'vehicle');
|
return $this->hasMany(Vehicles::class, 'owner');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user