Use int not string if no DB_PORT specified

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-08-28 19:34:08 +01:00
parent 535ca0e3c0
commit 82981290d4

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', ''),