Update database.php

Although Postgres is not officially supported, it does seem to work ok, but to help a little bit with the Docker image, this is non-breaking change but allows the env file to specify the pgsql connection port
This commit is contained in:
Ben Periton 2022-10-18 08:00:36 +01:00 committed by Joe Ferguson
parent cc370084d1
commit c2854f1bcb
No known key found for this signature in database
GPG key ID: 2682FEF21F21D486

View file

@ -102,6 +102,7 @@ return [
'pgsql' => [
'driver' => 'pgsql',
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '5432'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),