Merge pull request #4000 from ghermans/3953

fixed #3953
This commit is contained in:
Jitendra Singh 2020-10-05 14:46:50 +05:30 committed by GitHub
commit bee024ad2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class Install extends Command
public function handle()
{
$this->checkForEnvFile();
sleep(3);
// running `php artisan migrate`
$this->warn('Step: Migrating all tables into database...');
$migrate = $this->call('migrate:fresh');
@ -90,6 +90,7 @@ class Install extends Command
$this->info('Creating the environment configuration file.');
$this->createEnvFile();
} else {
$this->call('key:generate');
$this->info('Great! your environment configuration file already exists.');
}
}