diff --git a/app/Models/CarShowWinner.php b/app/Models/CarShowWinner.php index 941c108..6aa6aac 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'); + return $this->hasMany(CarShowCategory::class, 'category_name'); } }