Restore platform route and db diagnostics

This commit is contained in:
2026-05-21 13:22:17 -05:00
parent c477643781
commit 94064b27c3
4 changed files with 68 additions and 1 deletions

View File

@@ -15,7 +15,11 @@ return [
|
*/
'default' => env('DB_CONNECTION', 'mysql'),
'default' => env('DB_CONNECTION') ?: (
str_starts_with((string) env('DATABASE_URL'), 'postgres')
? 'pgsql'
: 'mysql'
),
/*
|--------------------------------------------------------------------------