-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
actionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Milestone
Description
Can we update this article for SF4? https://symfony.com/doc/current/doctrine/multiple_entity_managers.html
This is the new default configurations for doctrine:
doctrine:
dbal:
# configure these for your database server
driver: 'pdo_mysql'
server_version: '5.7'
charset: utf8mb4
# With Symfony 3.3, remove the `resolve:` prefix
url: '%env(resolve:DATABASE_URL)%'
This is an example of multiple connections using the url option:
doctrine:
dbal:
# configure these for your database server
# With Symfony 3.3, remove the `resolve:` prefix
default_connection: default
connections:
default:
url: '%env(resolve:DATABASE_URL)%'
driver: 'pdo_mysql'
server_version: '5.7'
charset: utf8mb4
books:
url: '%env(resolve:DATABASE_URL_BOOKS)%'
Metadata
Metadata
Assignees
Labels
actionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.