winner relation
This commit is contained in:
parent
10ce7b5224
commit
acf63aeb46
@ -25,6 +25,6 @@ class CarShowWinner extends Model
|
||||
|
||||
public function awardCategory()
|
||||
{
|
||||
return $this->hasMany(CarShowCategory::class, 'category_name');
|
||||
return $this->hasMany(CarShowCategory::class, 'id');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user