This commit is contained in:
salam committed 2026-07-27 17:01:56 +02:00
1 parent 956ae08bb9
commit 5074b443ae
1 file changed
+5 -4
@@ -22,11 +22,12 @@ class SqlMover
}
Notice::note('StatistikoEvent', 'b');
$res = StatistikoPlayer::groupBy('match_id')->pluck('match_id');
foreach ($res as $match_id) {
$has = StatistikoEvent::where('match_id', (int) $match_id)->first();
$res = StatistikoPlayer::groupBy('match_id')->get;
foreach ($res as $pl) {
$has = StatistikoEvent::where('match_id', (int) $pl->match_id)->first();
if (!$has)
echo $match_id . "\n";
dd($pl);
// echo $match_id . "\n";
}
Notice::note('done', 'bb', 1);