summaryrefslogtreecommitdiff
path: root/app/ServiceProvider/DatabaseProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/ServiceProvider/DatabaseProvider.php')
-rw-r--r--app/ServiceProvider/DatabaseProvider.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/ServiceProvider/DatabaseProvider.php b/app/ServiceProvider/DatabaseProvider.php
index a49a5f1b..43c4b813 100644
--- a/app/ServiceProvider/DatabaseProvider.php
+++ b/app/ServiceProvider/DatabaseProvider.php
@@ -42,8 +42,7 @@ class DatabaseProvider implements ServiceProviderInterface
if ($db->schema()->check(\Schema\VERSION)) {
return $db;
- }
- else {
+ } else {
$errors = $db->getLogMessages();
die('Unable to migrate database schema: <br/><br/><strong>'.(isset($errors[0]) ? $errors[0] : 'Unknown error').'</strong>');
}