fix winner category

This commit is contained in:
Russ Long 2022-08-08 20:34:48 -04:00
parent 5a330c6cda
commit 82bfe4da3f

View File

@ -25,6 +25,6 @@ class CarShowWinner extends Model
public function awardCategory()
{
return $this->hasMany(CarShowCategory::class, 'category');
return $this->hasMany(CarShowCategory::class, 'category_name');
}
}