mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 18:20:48 +01:00
fix: skin foreign key
This commit is contained in:
@@ -83,7 +83,7 @@ class Champion extends Model
|
||||
|
||||
public function skins(): HasMany
|
||||
{
|
||||
return $this->hasMany(ChampionSkin::class);
|
||||
return $this->hasMany(ChampionSkin::class, 'champion_id', 'champion_id');
|
||||
}
|
||||
|
||||
public function lanes(): HasOne
|
||||
|
||||
Reference in New Issue
Block a user