mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 23:54:44 +02:00
ix installer cache (#554)
This commit is contained in:
parent
ffadf9ac16
commit
d0c89b0729
@ -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()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user