diff --git a/CHANGELOG.md b/CHANGELOG.md index 55bd5994..ced24adf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to `Bolt` will be documented in this file +## v3.0.8 - 2024-01-13 + +### What's Changed + +* add confirmation before running the migration by @atmonshi in https://github.com/lara-zeus/bolt/pull/240 + +**Full Changelog**: https://github.com/lara-zeus/bolt/compare/v3.0.7...v3.0.8 + ## v3.0.7 - 2024-01-13 ### What's Changed 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'); }