Last active
August 29, 2015 14:21
-
-
Save rafacouto/291a8b941ff3a7ce982c to your computer and use it in GitHub Desktop.
Symfony and doctrine configuration with slave servers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Doctrine Configuration | |
doctrine: | |
dbal: | |
driver: "%database_driver%" | |
host: "%database_host%" | |
port: "%database_port%" | |
dbname: "%database_name%" | |
user: "%database_user%" | |
password: "%database_password%" | |
charset: UTF8 | |
options: | |
1002: "SET time_zone = '+00:00'" | |
slaves: | |
slave1: | |
host: "%database_host%" | |
port: "%database_port%" | |
dbname: "%database_name%" | |
user: "%database_user%" | |
password: "%database_password%" | |
charset: UTF8 | |
orm: | |
auto_generate_proxy_classes: "%kernel.debug%" | |
auto_mapping: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment