From d0c89b0729e8b52a6135b2076b291f74d9c3c54d Mon Sep 17 00:00:00 2001 From: Boy132 Date: Sun, 18 Aug 2024 17:23:02 +0200 Subject: [PATCH] ix installer cache (#554) --- app/Filament/Pages/Installer/PanelInstaller.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/Filament/Pages/Installer/PanelInstaller.php b/app/Filament/Pages/Installer/PanelInstaller.php index 11cbd98c87..b6aea2b098 100644 --- a/app/Filament/Pages/Installer/PanelInstaller.php +++ b/app/Filament/Pages/Installer/PanelInstaller.php @@ -103,14 +103,11 @@ public function submit() $variables = array_get($inputs, 'env'); $this->writeToEnvironment($variables); - // Clear cache - Artisan::call('config:clear'); - Artisan::call('cache:clear'); - // Run migrations Artisan::call('migrate', [ '--force' => true, '--seed' => true, + '--database' => $variables['DB_CONNECTION'], ]); if (!$this->hasCompletedMigrations()) {