score relation
This commit is contained in:
parent
e23fe4eacf
commit
910ab01712
@ -22,7 +22,7 @@ class VehicleScores extends Model
|
|||||||
|
|
||||||
public function judge()
|
public function judge()
|
||||||
{
|
{
|
||||||
return $this->belongsTo('App\Models\Judges', 'judge', 'id');
|
return $this->belongsTo(Judges::class, 'judge');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function scoredVehicle()
|
public function scoredVehicle()
|
||||||
|
Loading…
Reference in New Issue
Block a user