winner relation
This commit is contained in:
parent
87be8975c0
commit
3b93552ec7
@ -20,7 +20,7 @@ class CarShowWinner extends Model
|
||||
|
||||
public function awardVehicle()
|
||||
{
|
||||
return $this->hasMany(Vehicles::class, 'vehicle');
|
||||
return $this->hasMany(Vehicles::class, 'owner');
|
||||
}
|
||||
|
||||
public function awardCategory()
|
||||
|
Loading…
Reference in New Issue
Block a user