Files
symfony-flex-recipes/archived/doctrine.doctrine-bundle/779cd06547faefb5e1558d1b7a3d7f6a3e8dab43.json
T
github-action[bot]andgithub-action[bot] a5298a919f Update Flex archives
2021-12-18 17:20:12 +00:00

97 lines
4.4 KiB
JSON

{
"manifests": {
"doctrine/doctrine-bundle": {
"manifest": {
"bundles": {
"Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"src/": "%SRC_DIR%/"
},
"env": {
"#1": "Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url",
"#2": "For an SQLite database, use: \"sqlite:///%kernel.project_dir%/var/data.db\"",
"#3": "Set \"serverVersion\" to your server version to avoid edge-case exceptions and extra database calls",
"DATABASE_URL": "mysql://root@127.0.0.1:3306/symfony?charset=utf8mb4&serverVersion=5.7"
}
},
"files": {
"config/packages/doctrine.yaml": {
"contents": [
"doctrine:",
" dbal:",
" # With Symfony 3.3, remove the `resolve:` prefix",
" url: '%env(resolve:DATABASE_URL)%'",
" orm:",
" auto_generate_proxy_classes: '%kernel.debug%'",
" naming_strategy: doctrine.orm.naming_strategy.underscore",
" auto_mapping: true",
" mappings:",
" App:",
" is_bundle: false",
" type: annotation",
" dir: '%kernel.project_dir%/src/Entity'",
" prefix: 'App\\Entity\\'",
" alias: App",
""
],
"executable": false
},
"config/packages/prod/doctrine.yaml": {
"contents": [
"doctrine:",
" orm:",
" metadata_cache_driver:",
" type: service",
" id: doctrine.system_cache_provider",
" query_cache_driver:",
" type: service",
" id: doctrine.system_cache_provider",
" result_cache_driver:",
" type: service",
" id: doctrine.result_cache_provider",
"",
"services:",
" doctrine.result_cache_provider:",
" class: Symfony\\Component\\Cache\\DoctrineProvider",
" public: false",
" arguments:",
" - '@doctrine.result_cache_pool'",
" doctrine.system_cache_provider:",
" class: Symfony\\Component\\Cache\\DoctrineProvider",
" public: false",
" arguments:",
" - '@doctrine.system_cache_pool'",
"",
"framework:",
" cache:",
" pools:",
" doctrine.result_cache_pool:",
" adapter: cache.app",
" doctrine.system_cache_pool:",
" adapter: cache.system",
""
],
"executable": false
},
"src/Entity/.gitignore": {
"contents": [
""
],
"executable": false
},
"src/Repository/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "779cd06547faefb5e1558d1b7a3d7f6a3e8dab43"
}
}
}