mongo wip
This commit is contained in:
1 parent
acf9cb6220
commit
df60d37f3a
2 files changed
+113
No files matched your search
@@ -7,4 +7,69 @@ use MongoDB\Laravel\Eloquent\Model;
|
||||
class UbEvent extends Model
|
||||
{
|
||||
protected $connection = 'mongodb';
|
||||
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'gravitational_force',
|
||||
'diameter',
|
||||
'moons',
|
||||
];
|
||||
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'date_time_ss' => 'datetime',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
/***
|
||||
country_ss
|
||||
league_ss
|
||||
home
|
||||
away
|
||||
home_ft
|
||||
away_ft
|
||||
home_ht
|
||||
away_ht
|
||||
date_time_ss
|
||||
team
|
||||
player_ss
|
||||
goals
|
||||
assists
|
||||
tackles
|
||||
total_passes
|
||||
passes_done
|
||||
total_duels
|
||||
duels_won
|
||||
total_ground_duels
|
||||
ground_duels_won
|
||||
total_aerial_duels
|
||||
aerial_duels_won
|
||||
minutes_played
|
||||
shots_on_target
|
||||
shots_off_target
|
||||
shots_blocked
|
||||
total_dribble
|
||||
dribble_done
|
||||
position
|
||||
rating
|
||||
bcm
|
||||
hw
|
||||
pw
|
||||
pm
|
||||
possession_
|
||||
lost
|
||||
fouls
|
||||
was_fouled
|
||||
offsides
|
||||
id_player_tm
|
||||
h_a
|
||||
date_player_id
|
||||
date_home_away
|
||||
id_league
|
||||
data_di_acquisizione
|
||||
txleague_id
|
||||
txhome_id
|
||||
txaway_id
|
||||
*/
|
||||
Reference in new issue
Block a user