wip
This commit is contained in:
1 parent
bfd513635d
commit
f664e42572
2 files changed
+8
-10
No files matched your search
@@ -42,15 +42,14 @@ class ImportDetails
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
'ss_team_id' => (int) $row[1],
|
'ss_team_id' => (int) $row[1],
|
||||||
'tx_team_id' => (int) $row[2],
|
'player_name' => $row[2],
|
||||||
'player_name' => $row[3],
|
'ss_national_team_id' => (int) $row[3],
|
||||||
'ss_national_team_id' => (int) $row[4],
|
'birthdate' => Carbon::parse($row[4])->format('Y-m-d'),
|
||||||
'birthdate' => Carbon::parse($row[5])->format('Y-m-d'),
|
'height' => (int) $row[5],
|
||||||
'height' => (int) $row[6],
|
'nationality' => $row[6],
|
||||||
'nationality' => $row[7],
|
'position' => $row[7],
|
||||||
'position' => $row[8],
|
'preferred_foot' => $row[8],
|
||||||
'preferred_foot' => $row[9],
|
'last_update' => Carbon::parse($row[9])->format('Y-m-d H:i:s'),
|
||||||
'last_update' => Carbon::parse($row[10])->format('Y-m-d H:i:s'),
|
|
||||||
'created_at' => $now,
|
'created_at' => $now,
|
||||||
'updated_at' => $now,
|
'updated_at' => $now,
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ class StatistikoDetail extends Model
|
|||||||
protected $fillable = [
|
protected $fillable = [
|
||||||
'ss_player_id',
|
'ss_player_id',
|
||||||
'ss_team_id',
|
'ss_team_id',
|
||||||
'tx_team_id',
|
|
||||||
'player_name',
|
'player_name',
|
||||||
'ss_national_team_id',
|
'ss_national_team_id',
|
||||||
'birthdate',
|
'birthdate',
|
||||||
|
|||||||
Reference in new issue
Block a user