diff --git a/app/Console/Commands/ResetTraffic.php b/app/Console/Commands/ResetTraffic.php index c1d06a3f..f534ef21 100644 --- a/app/Console/Commands/ResetTraffic.php +++ b/app/Console/Commands/ResetTraffic.php @@ -38,6 +38,9 @@ class ResetTraffic extends Command */ public function handle() { - DB::update('update v2_user set u = 0, d = 0'); + DB::table('v2_user')->update([ + 'u' => 0, + 'd' => 0 + ]); } }