category relation
This commit is contained in:
parent
05d347914e
commit
6191923269
@ -25,7 +25,7 @@ class CarShowCategory extends Model
|
||||
|
||||
public function vehicle()
|
||||
{
|
||||
return $this->hasMany(App\Models\Vehicles::class, 'type');
|
||||
return $this->hasMany(Vehicles::class, 'type');
|
||||
}
|
||||
public function showWinner()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user