ix installer cache (#554)

This commit is contained in:
Boy132 2024-08-18 17:23:02 +02:00 committed by GitHub
parent ffadf9ac16
commit d0c89b0729
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,14 +103,11 @@ class PanelInstaller extends SimplePage implements HasForms
$variables = array_get($inputs, 'env'); $variables = array_get($inputs, 'env');
$this->writeToEnvironment($variables); $this->writeToEnvironment($variables);
// Clear cache
Artisan::call('config:clear');
Artisan::call('cache:clear');
// Run migrations // Run migrations
Artisan::call('migrate', [ Artisan::call('migrate', [
'--force' => true, '--force' => true,
'--seed' => true, '--seed' => true,
'--database' => $variables['DB_CONNECTION'],
]); ]);
if (!$this->hasCompletedMigrations()) { if (!$this->hasCompletedMigrations()) {