v1.7 beta.6

This commit is contained in:
carodej
2020-07-18 09:15:19 +02:00
parent 9ce64b2d58
commit 6c96fe2f46
5 changed files with 9 additions and 4 deletions

View File

@@ -60,7 +60,9 @@ class AppFunctionsController extends Controller
// If settings table don't exist, then run migrations
if ($users_table && ! $settings_table) {
Artisan::call('migrate');
Artisan::call('migrate', [
'--force' => true
]);
}
// Get settings
@@ -69,6 +71,8 @@ class AppFunctionsController extends Controller
// Get connection string
if ($upgraded && $upgraded->value !== '1.7') {
$connection = 'quiet-update';
} else if (! $upgraded) {
$connection = 'quiet-update';
} else {
$connection = $this->get_setup_status();
}