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