wip
This commit is contained in:
1 parent
9978b0f76f
commit
95e502d2fa
2 files changed
+65
-62
No files matched your search
@@ -8,11 +8,15 @@ return new class extends Migration
|
|||||||
{
|
{
|
||||||
protected $connection = 'mongodb';
|
protected $connection = 'mongodb';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Player Details
|
||||||
|
*/
|
||||||
|
|
||||||
public function up(): void
|
public function up(): void
|
||||||
{
|
{
|
||||||
Schema::create('player', function (Blueprint $collection) {
|
Schema::create('player', function (Blueprint $collection) {
|
||||||
$collection->index('match_id');
|
|
||||||
$collection->unique('player_id');
|
$collection->unique('player_id');
|
||||||
|
$collection->index('name');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -21,64 +25,3 @@ return new class extends Migration
|
|||||||
Schema::dropIfExists('player');
|
Schema::dropIfExists('player');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// ssmatch_id
|
|
||||||
// player_id
|
|
||||||
// playersubstitute_id
|
|
||||||
// goals
|
|
||||||
// assists
|
|
||||||
// own_goals
|
|
||||||
// shots_on_target
|
|
||||||
// shots_off_target
|
|
||||||
// shots_blocked
|
|
||||||
// fouls
|
|
||||||
// was_fouled
|
|
||||||
// offsides
|
|
||||||
// possessions_lost
|
|
||||||
// total_tackles
|
|
||||||
// touches
|
|
||||||
// total_cross
|
|
||||||
// cross_done
|
|
||||||
// total_dribbles
|
|
||||||
// dribbles_won
|
|
||||||
// total_ground_duels
|
|
||||||
// total_ground_duels_won
|
|
||||||
// total_aerial_duels
|
|
||||||
// total_duels_aerial_won
|
|
||||||
// total_pass
|
|
||||||
// pass
|
|
||||||
// total_long_balls
|
|
||||||
// long_balls
|
|
||||||
// blocked_shots
|
|
||||||
// clearances
|
|
||||||
// dribbled_past
|
|
||||||
// hit_woodwork
|
|
||||||
// interceptions
|
|
||||||
// key_pass
|
|
||||||
// last_man_tackle
|
|
||||||
// dispossessed
|
|
||||||
// clearance_off_line
|
|
||||||
// bcc
|
|
||||||
// bcm
|
|
||||||
// errors_lead_to_a_goal
|
|
||||||
// errors_lead_to_a_shot
|
|
||||||
// penalty_committed
|
|
||||||
// penalty_miss
|
|
||||||
// penalty_save
|
|
||||||
// penalty_won
|
|
||||||
// saves
|
|
||||||
// saves_from_in_box
|
|
||||||
// total_runs_out
|
|
||||||
// runs_out
|
|
||||||
// punches
|
|
||||||
// good_high_claim
|
|
||||||
// minutes_played
|
|
||||||
// lineup
|
|
||||||
// minute_event_during_the_match
|
|
||||||
// type_event_during_the_match
|
|
||||||
// description_event_during_the_match
|
|
||||||
// subtype_event_during_the_match
|
|
||||||
// player_position
|
|
||||||
// playerrating_value
|
|
||||||
// tm_player_id
|
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
|
||||||
|
// ssmatch_id
|
||||||
|
// player_id
|
||||||
|
// playersubstitute_id
|
||||||
|
// goals
|
||||||
|
// assists
|
||||||
|
// own_goals
|
||||||
|
// shots_on_target
|
||||||
|
// shots_off_target
|
||||||
|
// shots_blocked
|
||||||
|
// fouls
|
||||||
|
// was_fouled
|
||||||
|
// offsides
|
||||||
|
// possessions_lost
|
||||||
|
// total_tackles
|
||||||
|
// touches
|
||||||
|
// total_cross
|
||||||
|
// cross_done
|
||||||
|
// total_dribbles
|
||||||
|
// dribbles_won
|
||||||
|
// total_ground_duels
|
||||||
|
// total_ground_duels_won
|
||||||
|
// total_aerial_duels
|
||||||
|
// total_duels_aerial_won
|
||||||
|
// total_pass
|
||||||
|
// pass
|
||||||
|
// total_long_balls
|
||||||
|
// long_balls
|
||||||
|
// blocked_shots
|
||||||
|
// clearances
|
||||||
|
// dribbled_past
|
||||||
|
// hit_woodwork
|
||||||
|
// interceptions
|
||||||
|
// key_pass
|
||||||
|
// last_man_tackle
|
||||||
|
// dispossessed
|
||||||
|
// clearance_off_line
|
||||||
|
// bcc
|
||||||
|
// bcm
|
||||||
|
// errors_lead_to_a_goal
|
||||||
|
// errors_lead_to_a_shot
|
||||||
|
// penalty_committed
|
||||||
|
// penalty_miss
|
||||||
|
// penalty_save
|
||||||
|
// penalty_won
|
||||||
|
// saves
|
||||||
|
// saves_from_in_box
|
||||||
|
// total_runs_out
|
||||||
|
// runs_out
|
||||||
|
// punches
|
||||||
|
// good_high_claim
|
||||||
|
// minutes_played
|
||||||
|
// lineup
|
||||||
|
// minute_event_during_the_match
|
||||||
|
// type_event_during_the_match
|
||||||
|
// description_event_during_the_match
|
||||||
|
// subtype_event_during_the_match
|
||||||
|
// player_position
|
||||||
|
// playerrating_value
|
||||||
|
// tm_player_id
|
||||||
Reference in new issue
Block a user