From 3b93552ec75344b01f207c73e80ccfb23d9f966d Mon Sep 17 00:00:00 2001 From: Russ Long Date: Mon, 8 Aug 2022 20:43:32 -0400 Subject: [PATCH] winner relation --- app/Models/CarShowWinner.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/CarShowWinner.php b/app/Models/CarShowWinner.php index 6aa6aac..1651bc3 100644 --- a/app/Models/CarShowWinner.php +++ b/app/Models/CarShowWinner.php @@ -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()