modifications details

This commit is contained in:
salam committed 2026-07-28 21:37:18 +02:00
1 parent c143dcf727
commit c1892e86aa
21 files changed
+99 -108

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@ use Illuminate\Database\Eloquent\Model;
class SofaScorePlayerPerSeason extends Model
{
protected $fillable = [
'tm_player_id',
'ss_player_id',
'tx_team_id',
'season',
'events_played_home',
@@ -18,6 +18,6 @@ class SofaScorePlayerPerSeason extends Model
public function details()
{
return $this->belongsTo(StatistikoDetail::class, 'tm_player_id', 'tm_player_id');
return $this->belongsTo(StatistikoDetail::class, 'ss_player_id', 'ss_player_id');
}
}