relation updates
This commit is contained in:
@ -29,6 +29,6 @@ class CarShowCategory extends Model
|
||||
}
|
||||
public function showWinner()
|
||||
{
|
||||
return $this->hasMany('App\Models\CarShowWinner', 'id', 'category');
|
||||
return $this->hasMany(CarShowWinner::class, 'category');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user