v1.7 alpha.4

This commit is contained in:
carodej
2020-07-15 11:50:32 +02:00
parent 25d15390ef
commit 6b36480097
15 changed files with 222 additions and 209 deletions

View File

@@ -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');
}