Clear cache and refresh *before* running migration

This commit is contained in:
Miguel Nogueira 2020-07-09 07:12:15 +01:00
parent c7fd8989f9
commit 4456d19c1f
1 changed files with 1 additions and 1 deletions

View File

@ -115,13 +115,13 @@ class Install extends Command
'value' => $value 'value' => $value
]); ]);
} }
$this->call('config:cache');
$this->info('>> Saved configuration settings!'); $this->info('>> Saved configuration settings!');
$this->info('>> Preparing database...'); $this->info('>> Preparing database...');
$this->call('migrate'); $this->call('migrate');
$this->call('db:seed'); $this->call('db:seed');
$this->call('config:cache');
touch($basePath . '/INSTALLED'); touch($basePath . '/INSTALLED');