wip
This commit is contained in:
1 parent
6e14dbd1bc
commit
30206aa8fb
1 file changed
+2
-2
@@ -17,14 +17,14 @@ class SqlMover
|
|||||||
foreach ($res as $match_id) {
|
foreach ($res as $match_id) {
|
||||||
$has = StatistikoPlayer::where('match_id', $match_id)->first();
|
$has = StatistikoPlayer::where('match_id', $match_id)->first();
|
||||||
if (!$has)
|
if (!$has)
|
||||||
Notice::note('StatistikoPlayer missing ' . $match_id, 'br', 1);
|
Notice::note('StatistikoPlayer missing ' . $match_id, 'b');
|
||||||
}
|
}
|
||||||
|
|
||||||
$res = StatistikoPlayer::groupBy('match_id')->pluck('match_id');
|
$res = StatistikoPlayer::groupBy('match_id')->pluck('match_id');
|
||||||
foreach ($res as $match_id) {
|
foreach ($res as $match_id) {
|
||||||
$has = StatistikoEvent::where('match_id', $match_id)->first();
|
$has = StatistikoEvent::where('match_id', $match_id)->first();
|
||||||
if (!$has)
|
if (!$has)
|
||||||
Notice::note('StatistikoEvent missing ' . $match_id, 'br', 1);
|
Notice::note('StatistikoEvent missing ' . $match_id, 'b');
|
||||||
}
|
}
|
||||||
|
|
||||||
Notice::note('done', 'bb', 1);
|
Notice::note('done', 'bb', 1);
|
||||||
|
|||||||
Reference in new issue
Block a user