diff --git a/app/Console/Commands/ResetDemo.php b/app/Console/Commands/ResetDemo.php index 849475b79..b787c1144 100644 --- a/app/Console/Commands/ResetDemo.php +++ b/app/Console/Commands/ResetDemo.php @@ -3,7 +3,6 @@ namespace App\Console\Commands; use Illuminate\Console\Command; -use Illuminate\Support\Facades\Artisan; class ResetDemo extends Command { @@ -40,12 +39,12 @@ public function handle() public function resetDemoData() { $this->info('Reset Database and migrate fresh'); - Artisan::call('migrate:fresh'); + $this->callSilently('migrate:fresh', ['--no-interaction' => true]); $this->info('Reset Database seeds'); - Artisan::call('db:seed'); + $this->callSilently('db:seed', ['--no-interaction' => true]); $this->info('Insert Demo Data again'); - Artisan::call('laravel-starter:insert-demo-data'); + $this->callSilently('laravel-starter:insert-demo-data', ['--no-interaction' => true]); } }