diff --git a/app/Console/Commands/Test.php b/app/Console/Commands/Test.php index 88302a2f..fc0841b1 100644 --- a/app/Console/Commands/Test.php +++ b/app/Console/Commands/Test.php @@ -97,10 +97,8 @@ class Test extends Command */ public function handle() { - $results = NexusDB::select("select torrent, peer_id, userid, group_concat(id) as ids from peers group by torrent, peer_id, userid having(count(*)) > 1 limit 20"); - dump($results); - $rep = new ToolRepository(); - $rep->removeDuplicatePeer(); + $arr = ['aa' => ['bb' => []]]; + dd(array_filter($arr)); } } diff --git a/nexus/Install/update/update.php b/nexus/Install/update/update.php index d320da87..2c62340a 100644 --- a/nexus/Install/update/update.php +++ b/nexus/Install/update/update.php @@ -225,6 +225,8 @@ if ( echo $update->renderTable($header, $tableRows); echo '
%s to %s, then insert into database.', $tableRows[1]['label'], $tableRows[0]['label']);
+ echo sprintf('php artisan nexus:updatephp artisan nexus:update