Skip to content

Commit

Permalink
Merge branch '3.x' of github.com:lara-zeus/bolt into 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Jan 13, 2024
2 parents 84abec1 + 5c42074 commit d21da88
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit d21da88

Please sign in to comment.