diff --git a/packages/Webkul/Core/src/Console/Commands/Install.php b/packages/Webkul/Core/src/Console/Commands/Install.php index 205137dba..04a02cc5c 100644 --- a/packages/Webkul/Core/src/Console/Commands/Install.php +++ b/packages/Webkul/Core/src/Console/Commands/Install.php @@ -39,6 +39,11 @@ class Install extends Command { $this->checkForEnvFile(); + // cached new changes + $this->warn('Step: Caching new changes...'); + $cached = $this->call('config:cache'); + $this->info($cached); + // running `php artisan migrate` $this->warn('Step: Migrating all tables into database...'); $migrate = $this->call('migrate:fresh'); @@ -64,11 +69,6 @@ class Install extends Command $result = shell_exec('composer dump-autoload'); $this->info($result); - // cached new changes - $this->warn('Step: Caching new changes...'); - $cached = $this->call('config:cache'); - $this->info($cached); - $this->info('-----------------------------'); $this->info('Congratulations!'); $this->info('The installation has been finished and you can now use Bagisto.');