winner relation

This commit is contained in:
Russ Long 2022-08-08 20:39:33 -04:00
parent 10ce7b5224
commit acf63aeb46

View File

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