relationship update
This commit is contained in:
@ -21,6 +21,6 @@ class PeoplesChoice extends Model
|
||||
|
||||
public function vehicles()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Vehicles', 'vehicle', 'id');
|
||||
return $this->belongsTo(Vehicles::class, 'vehicle', 'id');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user