From 95e502d2faadfccf2b4687a56be15b86d973c931 Mon Sep 17 00:00:00 2001 From: salam Date: Wed, 6 May 2026 18:37:34 +0200 Subject: [PATCH] wip --- ...4_20_085306_mongo_db_statistiko_player.php | 67 ++----------------- textfiles/markatires_filds.txt | 60 +++++++++++++++++ 2 files changed, 65 insertions(+), 62 deletions(-) create mode 100644 textfiles/markatires_filds.txt diff --git a/database/migrations/2026_04_20_085306_mongo_db_statistiko_player.php b/database/migrations/2026_04_20_085306_mongo_db_statistiko_player.php index 92b67d2e..f982b76c 100644 --- a/database/migrations/2026_04_20_085306_mongo_db_statistiko_player.php +++ b/database/migrations/2026_04_20_085306_mongo_db_statistiko_player.php @@ -8,11 +8,15 @@ return new class extends Migration { protected $connection = 'mongodb'; + /** + * Player Details + */ + public function up(): void { Schema::create('player', function (Blueprint $collection) { - $collection->index('match_id'); $collection->unique('player_id'); + $collection->index('name'); }); } @@ -21,64 +25,3 @@ return new class extends Migration 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 \ No newline at end of file diff --git a/textfiles/markatires_filds.txt b/textfiles/markatires_filds.txt new file mode 100644 index 00000000..e2564540 --- /dev/null +++ b/textfiles/markatires_filds.txt @@ -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 \ No newline at end of file