Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # config.yml
- # Doctrine Configuration
- doctrine:
- dbal:
- default_connection: default
- connections:
- default:
- driver: pdo_mysql
- host: "%database_host%"
- port: "%database_port%"
- dbname: "%database_name%"
- user: "%database_user%"
- password: "%database_password%"
- charset: UTF8
- postgres:
- driver: pdo_pgsql
- host: "%pg_host%"
- port: "%pg_port%"
- dbname: "%pg_name%"
- user: "%pg_user%"
- password: "%pg_password%"
- charset: UTF8
- orm:
- default_entity_manager: default
- auto_generate_proxy_classes: "%kernel.debug%"
- entity_managers:
- default:
- connection: default
- mappings:
- AppBundle:
- type: yml
- dir: Resources/config/doctrine/default
- postgres:
- connection: postgres
- mappings:
- AppBundle:
- type: yml
- dir: Resources/config/doctrine/postgres
- AppBundle
- |___Entity
- | |___Client.php
- | |___Supplier.php
- | |___User.php
- |
- |___Resources
- | |___config
- | |___doctrine
- | |___default
- | | |___Client.orm.yml
- | | |___User.orm.yml
- | |
- | |___postgres
- | |___Suppliers.orm.yml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement