This commit is contained in:
salam committed 2026-07-27 16:58:23 +02:00
1 parent 07119c492c
commit 956ae08bb9
1 file changed
+10 -9
@@ -13,19 +13,20 @@ class SqlMover
Notice::note('SqlMover', 'b');
Notice::note('StatistikoPlayer', 'b');
$res = StatistikoEvent::pluck('match_id');
foreach ($res as $match_id) {
$has = StatistikoPlayer::where('match_id', $match_id)->first();
if (!$has)
Notice::note('StatistikoPlayer missing ' . $match_id, 'b');
}
$res = StatistikoPlayer::groupBy('match_id')->pluck('match_id');
foreach ($res as $match_id) {
$has = StatistikoEvent::where('match_id', $match_id)->first();
$has = StatistikoPlayer::where('match_id', (int) $match_id)->first();
if (!$has)
echo $match_id . "\n";
}
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();
if (!$has)
echo $match_id . "\n";
// Notice::note('StatistikoEvent missing ' . $match_id, 'b');
}
Notice::note('done', 'bb', 1);