winner relation

This commit is contained in:
Russ Long 2022-08-08 20:42:37 -04:00
parent 24ac516631
commit 87be8975c0

View File

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