mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-17 15:52:15 +00:00
v1.7 alpha.4
This commit is contained in:
@@ -56,9 +56,10 @@ class AppFunctionsController extends Controller
|
||||
|
||||
// Check settings table
|
||||
$settings_table = Schema::hasTable('settings');
|
||||
$users_table = Schema::hasTable('users');
|
||||
|
||||
// If settings table don't exist, then run migrations
|
||||
if (! $settings_table) {
|
||||
if ($users_table && ! $settings_table) {
|
||||
Artisan::call('migrate');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user