fix winner vehicle
This commit is contained in:
@ -20,7 +20,7 @@ class CarShowWinner extends Model
|
||||
|
||||
public function awardVehicle()
|
||||
{
|
||||
return $this->hasMany(Vehicles::class, 'vehicle');
|
||||
return $this->hasMany(Vehicles::class, 'id');
|
||||
}
|
||||
|
||||
public function awardCategory()
|
||||
|
Reference in New Issue
Block a user