modifications details
This commit is contained in:
1 parent
c143dcf727
commit
c1892e86aa
21 files changed
+99
-108
No files matched your search
@@ -13,21 +13,17 @@ class StatistikoDetail extends Model
|
||||
protected $table = 'details';
|
||||
|
||||
protected $fillable = [
|
||||
'tm_player_id',
|
||||
'name',
|
||||
'full_name',
|
||||
'birthdate',
|
||||
'ss_player_id',
|
||||
'player_name',
|
||||
'tx_team_id',
|
||||
'ss_national_team_id',
|
||||
'team_name',
|
||||
'birthday',
|
||||
'height',
|
||||
'nationality',
|
||||
'position',
|
||||
'sport_radar_id',
|
||||
'id_squadra_tm',
|
||||
'rigorist',
|
||||
'national_team_id',
|
||||
'preferred_foot',
|
||||
'last_update',
|
||||
'league_code',
|
||||
'team_code',
|
||||
'team_name',
|
||||
'created_at',
|
||||
'updated_at',
|
||||
];
|
||||
@@ -42,6 +38,6 @@ class StatistikoDetail extends Model
|
||||
|
||||
public function season()
|
||||
{
|
||||
return $this->hasMany(SofaScorePlayerPerSeason::class, 'tm_player_id', 'tm_player_id');
|
||||
return $this->hasMany(SofaScorePlayerPerSeason::class, 'ss_player_id', 'ss_player_id');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user