Skip to content

Commit 11e36c0

Browse files
committed
Issue #471: Clarify instructions regarding multiple connections in config/autoload/local.php.dist
Signed-off-by: alexmerlin <[email protected]>
1 parent e480055 commit 11e36c0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

config/autoload/local.php.dist

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ declare(strict_types=1);
55
$baseUrl = 'http://localhost:8080';
66

77
$databases = [
8+
/**
9+
* You can add more database connections to this array.
10+
* Only one active connection is allowed at a time.
11+
* By default, the application uses the 'mariadb' connection.
12+
* You can switch to another connection by activating it under doctrine->connection->orm_default-->params.
13+
*/
814
'mariadb' => [
915
'host' => 'localhost',
1016
'dbname' => 'dotkernel',
@@ -25,7 +31,6 @@ $databases = [
2531
'collation' => 'utf8mb4_general_ci',
2632
'table_prefix' => '',
2733
],
28-
// you can add more database connections to this array
2934
];
3035

3136
return [
@@ -61,6 +66,7 @@ return [
6166
'connection' => [
6267
'orm_default' => [
6368
'params' => $databases['mariadb'],
69+
// 'params' => $databases['postgresql'],
6470
],
6571
],
6672
],

0 commit comments

Comments
 (0)