Add env variable to database default connection
@@ -26,7 +26,7 @@ return [
|
*/
- 'default' => 'mysql',
+ 'default' => env('DB_CONNECTION','mysql'),
/*
|--------------------------------------------------------------------------