fix winner category
This commit is contained in:
parent
5a330c6cda
commit
82bfe4da3f
@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user