diff --git a/app/Models/CarShowWinner.php b/app/Models/CarShowWinner.php index 928dd7c..49473d9 100644 --- a/app/Models/CarShowWinner.php +++ b/app/Models/CarShowWinner.php @@ -25,6 +25,6 @@ class CarShowWinner extends Model public function awardCategory() { - return $this->hasMany(CarShowCategory::class, 'category_name'); + return $this->hasMany(CarShowCategory::class, 'id'); } }