1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 09:24:02 +00:00

Update configuring Postgres credentials in TestCase

This commit is contained in:
lukinovec 2023-05-22 17:00:40 +02:00
parent aa21514c49
commit c4b1d1c6c4

View file

@ -89,10 +89,10 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
'driver' => 'pgsql',
'url' => env('DATABASE_URL'),
'host' => 'postgres',
'port' => '5432',
'database' => 'main',
'username' => 'postgres',
'password' => 'postgres',
'port' => env('POSTGRES_PORT', '5432'),
'database' => env('POSTGRES_DB', 'main'),
'username' => env('POSTGRES_USER', env('DB_USERNAME')),
'password' => env('POSTGRES_PASSWORD', env('DB_PASSWORD')),
'charset' => 'utf8',
'prefix' => '',
'prefix_indexes' => true,