Add db_charset to contest postgresql errors.

Need to set `db_charset` and use it for installation connection to contest `missing index: 'charset'` error.

Error happens on postgresql 10 (and probably previous versions).
This commit is contained in:
Mert Özgür Akdeniz 2017-11-22 16:26:34 +03:00 committed by GitHub
parent e59e0e3aab
commit 7912aecf32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,6 +63,7 @@ class Database extends Controller
'password' => $request['password'],
'driver' => env('DB_CONNECTION', 'mysql'),
'port' => env('DB_PORT', '3306'),
'charset' => env('DB_CHARSET', 'utf8mb4'),
]);
try {