winner relation
This commit is contained in:
parent
dbb2821472
commit
0a826b5dfd
@ -20,11 +20,11 @@ class CarShowWinner extends Model
|
||||
|
||||
public function awardVehicle()
|
||||
{
|
||||
return $this->hasMany(Vehicles::class, 'id', 'vehicle');
|
||||
return $this->hasMany('App\Models\Vehicles', 'id', 'vehicle');
|
||||
}
|
||||
|
||||
public function awardCategory()
|
||||
{
|
||||
return $this->hasMany(CarShowCategory::class, 'id', 'category_name');
|
||||
return $this->hasMany('App\Models\CarShowCategory', 'id', 'category');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user