modifications details
This commit is contained in:
1 parent
c143dcf727
commit
c1892e86aa
21 files changed
+99
-108
No files matched your search
@@ -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');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user