fix installation issue & add ver update listener

This commit is contained in:
raishvaria
2019-11-22 15:11:11 +05:30
parent 66a1156d5c
commit dd0817709b
5 changed files with 68 additions and 27 deletions

View File

@ -54,7 +54,7 @@ class EnvironmentManager
'error' => 'connection_failed'
];
} else {
if(count(DB::connection()->select('SHOW TABLES'))) {
if(\Schema::hasTable('users') ) {
return [
'error' => 'database_should_be_empty'
];