DB connection settings diff

This commit is contained in:
2023-10-31 13:41:15 -03:00
parent 81d1bc21fe
commit 00167b02d5
2 changed files with 6 additions and 4 deletions

View File

@ -22,6 +22,6 @@ return [
}
$dsn []= "dbname={$database->name}";
$dsn = implode(';', $dsn);
return new PDO($dsn, $database->username, $database->password);
return new PDO($dsn, $database->user->name, $database->user->password);
},
];