Skip to content

Commit

Permalink
Clear cache before running migrations (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy132 authored Aug 18, 2024
1 parent bf23389 commit ffadf9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/Filament/Pages/Installer/PanelInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ 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,
Expand Down

0 comments on commit ffadf9a

Please sign in to comment.