winner relation

This commit is contained in:
Russ Long 2022-08-08 20:43:32 -04:00
parent 87be8975c0
commit 3b93552ec7

View File

@ -20,7 +20,7 @@ class CarShowWinner extends Model
public function awardVehicle() public function awardVehicle()
{ {
return $this->hasMany(Vehicles::class, 'vehicle'); return $this->hasMany(Vehicles::class, 'owner');
} }
public function awardCategory() public function awardCategory()