diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index f804da2..46652bb 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -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 diff --git a/src/Console/InstallCommand.php b/src/Console/InstallCommand.php index 51079bb..cc4d312 100644 --- a/src/Console/InstallCommand.php +++ b/src/Console/InstallCommand.php @@ -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 :)'); }