From 8aa968e916699e7a38603fc938ab83e2f34a6ab3 Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Sat, 30 Mar 2024 21:48:05 +0300 Subject: [PATCH 1/2] Update InstallCommand.php --- src/Console/InstallCommand.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 :)'); } From 638c1bc45c8a40f044cc0444ef65cbe8529379b5 Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Sun, 31 Mar 2024 03:53:04 +0300 Subject: [PATCH 2/2] Update phpstan.yml --- .github/workflows/phpstan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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