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:
@@ -51,7 +51,7 @@ class ChampionSkin extends Model
|
||||
|
||||
public function champion(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Champion::class);
|
||||
return $this->belongsTo(Champion::class, 'champion_id', 'champion_id');
|
||||
}
|
||||
|
||||
public function chromas(): HasMany
|
||||
|
||||
Reference in New Issue
Block a user