config_doctrine.yml (1395B)
1 # Doctrine Configuration 2 doctrine: 3 dbal: 4 driver: %database_driver% 5 host: %database_host% 6 port: %database_port% 7 dbname: %database_name% 8 user: %database_user% 9 password: %database_password% 10 charset: UTF8 11 server_version: 5.6 12 13 # if using pdo_sqlite as your database driver, add the path in parameters.php 14 # e.g. database_path: %kernel.root_dir%/data/data.db3 15 # path: %database_path% 16 17 orm: 18 auto_generate_proxy_classes: %kernel.debug% 19 connection: ~ 20 auto_mapping: true 21 metadata_cache_driver: %cache.doctrine% 22 query_cache_driver: %cache.doctrine% 23 result_cache_driver: %cache.doctrine% 24 mappings: 25 gedmo_tree: 26 type: annotation 27 prefix: Gedmo\Tree\Entity 28 dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Tree/Entity" 29 alias: GedmoTree # this one is optional and will default to the name set for the mapping 30 is_bundle: false 31 32 doctrine_migrations: 33 dir_name: %kernel.root_dir%/../src/PartKeepr/CoreBundle/DoctrineMigrations 34 namespace: PartKeepr\CoreBundle\DoctrineMigrations 35 table_name: SchemaVersions 36 name: Application Migrations 37 38 stof_doctrine_extensions: 39 default_locale: en_US 40 orm: 41 default: 42 tree: true