Skip to content

Commit

Permalink
ix installer cache (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy132 committed Aug 18, 2024
1 parent ffadf9a commit d0c89b0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/Filament/Pages/Installer/PanelInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit d0c89b0

Please sign in to comment.