Restore platform route and db diagnostics
This commit is contained in:
@@ -15,7 +15,11 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'default' => env('DB_CONNECTION', 'mysql'),
|
||||
'default' => env('DB_CONNECTION') ?: (
|
||||
str_starts_with((string) env('DATABASE_URL'), 'postgres')
|
||||
? 'pgsql'
|
||||
: 'mysql'
|
||||
),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user