mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-22 15:31:12 +01:00
Small fix
This commit is contained in:
parent
91fbd06827
commit
9f2913b487
@ -27,7 +27,7 @@ final class Postgres
|
||||
$config = PostgresConfig::fromString('host='.\str_replace('tcp://', '', $settings->getUri()))
|
||||
->withUser($settings->getUsername())
|
||||
->withPassword($settings->getPassword())
|
||||
->withDatabase(\strtolower($settings->getDatabase()));
|
||||
->withDatabase($settings->getDatabase());
|
||||
|
||||
static::createDb($config);
|
||||
static::$connections[$dbKey] = new PostgresConnectionPool($config, $settings->getMaxConnections(), $settings->getIdleTimeout());
|
||||
|
Loading…
x
Reference in New Issue
Block a user