wip
This commit is contained in:
1 parent
956ae08bb9
commit
5074b443ae
1 file changed
+5
-4
@@ -22,11 +22,12 @@ class SqlMover
|
|||||||
}
|
}
|
||||||
|
|
||||||
Notice::note('StatistikoEvent', 'b');
|
Notice::note('StatistikoEvent', 'b');
|
||||||
$res = StatistikoPlayer::groupBy('match_id')->pluck('match_id');
|
$res = StatistikoPlayer::groupBy('match_id')->get;
|
||||||
foreach ($res as $match_id) {
|
foreach ($res as $pl) {
|
||||||
$has = StatistikoEvent::where('match_id', (int) $match_id)->first();
|
$has = StatistikoEvent::where('match_id', (int) $pl->match_id)->first();
|
||||||
if (!$has)
|
if (!$has)
|
||||||
echo $match_id . "\n";
|
dd($pl);
|
||||||
|
// echo $match_id . "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
Notice::note('done', 'bb', 1);
|
Notice::note('done', 'bb', 1);
|
||||||
|
|||||||
Reference in new issue
Block a user