Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update InstallCommand.php #202

Merged
merged 2 commits into from
Mar 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
coverage: none

- name: Install composer dependencies
Expand Down
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