Skip to content

Commit

Permalink
Update InstallCommand.php
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Mar 30, 2024
1 parent 6594abd commit 8aa968e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ public function handle(): void
$this->call('vendor:publish', ['--tag' => 'zeus-config']);
$this->call('vendor:publish', ['--tag' => 'zeus-assets']);

$this->info('running migrations...');

$this->call('migrate');
if ($this->confirm('Do you want to run the migration now?', true)) {
$this->info('running migrations...');
$this->call('migrate');
}

$this->output->success('Zeus Sky has been Installed successfully, consider ⭐️ the package in filament site :)');
}
Expand Down

0 comments on commit 8aa968e

Please sign in to comment.