score relation
This commit is contained in:
parent
b3e2909728
commit
1d3abb8b8d
@ -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');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user