diff --git a/src/Commands/InstallCommand.php b/src/Commands/InstallCommand.php index 84e5f5ff..6bd82729 100644 --- a/src/Commands/InstallCommand.php +++ b/src/Commands/InstallCommand.php @@ -19,8 +19,10 @@ public function handle(): void $this->info('publishing assets...'); $this->callSilent('vendor:publish', ['--tag' => 'zeus-assets']); - $this->info('running migrations...'); - $this->callSilent('migrate'); + if ($this->confirm('Do you want to run the migration now?', true)) { + $this->info('running migrations...'); + $this->callSilent('migrate'); + } $this->output->success('Zeus Bolt has been Installed successfully'); }