From 3033006fd6ab627f21618ab7ba90a784b2362bb1 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Mon, 8 Aug 2022 20:36:05 -0400 Subject: [PATCH] fix winner vehicle --- 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..928dd7c 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, 'id'); } public function awardCategory()