mirror of
https://github.com/crater-invoice/crater.git
synced 2026-02-07 11:11:43 -05:00
fix installation issue & add ver update listener
This commit is contained in:
@@ -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'
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user