Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix issue with DB creation.
James Coleb627fcc754fe
diff --git a/app/Console/Commands/CreateDatabase.php b/app/Console/Commands/CreateDatabase.phpindex f7e24b245a..9b8e9a0366 100644--- a/app/Console/Commands/CreateDatabase.php+++ b/app/Console/Commands/CreateDatabase.php@@ -54,7 +54,8 @@ class CreateDatabase extends Commandpublic function handle(){if ('mysql' !== env('DB_CONNECTION')) {- $this->info('This command currently applies to MySQL connections only.');+ $this->info(sprintf('CreateDB does not apply to "%s", skipped.', env('DB_CONNECTION')));+ return 0;}// try to set up a raw connection:$dsn = sprintf('mysql:host=%s;charset=utf8mb4', env('DB_HOST'));