Check tables before installation in CLI
This commit is contained in:
parent
cd1efcdcfc
commit
84b2a5f0a4
@ -13,6 +13,11 @@ class ExecuteInstallation extends Command
|
||||
|
||||
public function handle()
|
||||
{
|
||||
if (\App\Http\Controllers\SetupController::checkTablesExist()) {
|
||||
$this->info('You have installed Blessing Skin Server. Nothing to do.');
|
||||
return;
|
||||
}
|
||||
|
||||
$this->call('key:random');
|
||||
$this->call('salt:random');
|
||||
$this->call('migrate', ['--force' => true]);
|
||||
|
Loading…
Reference in New Issue
Block a user