fix winner vehicle
This commit is contained in:
parent
82bfe4da3f
commit
3033006fd6
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user