From 4456d19c1f4b925ec6add3b88f04c3b1266b6627 Mon Sep 17 00:00:00 2001 From: Miguel Nogueira Date: Thu, 9 Jul 2020 07:12:15 +0100 Subject: [PATCH] Clear cache and refresh *before* running migration --- app/Console/Commands/Install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/Install.php b/app/Console/Commands/Install.php index fb84bf5..1f41b1a 100644 --- a/app/Console/Commands/Install.php +++ b/app/Console/Commands/Install.php @@ -115,13 +115,13 @@ class Install extends Command 'value' => $value ]); } + $this->call('config:cache'); $this->info('>> Saved configuration settings!'); $this->info('>> Preparing database...'); $this->call('migrate'); $this->call('db:seed'); - $this->call('config:cache'); touch($basePath . '/INSTALLED');