Merge pull request #13538 from snipe/fixes/13516_use_int_not_string_for_port_default

Fixed #13516 - Use int not string if no DB_PORT specified
This commit is contained in:
snipe 2023-08-28 19:38:41 +01:00 committed by GitHub
commit 6020927e24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,7 +69,7 @@ return [
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '3306'),
'port' => env('DB_PORT', 3306),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),