winner relation

This commit is contained in:
2022-08-08 20:43:32 -04:00
parent 87be8975c0
commit 3b93552ec7
+1 -1
View File
@@ -20,7 +20,7 @@ class CarShowWinner extends Model
public function awardVehicle()
{
return $this->hasMany(Vehicles::class, 'vehicle');
return $this->hasMany(Vehicles::class, 'owner');
}
public function awardCategory()