mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
Set mongodb-odm-bundle default database
This commit is contained in:
@@ -5,6 +5,7 @@ doctrine_mongodb:
|
||||
default:
|
||||
server: '%env(MONGODB_URL)%'
|
||||
options: {}
|
||||
default_database: '%env(MONGODB_DB)%'
|
||||
document_managers:
|
||||
default:
|
||||
auto_mapping: true
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"MONGODB_URL": "mongodb://localhost:27017/symfony"
|
||||
"MONGODB_URL": "mongodb://localhost:27017",
|
||||
"MONGODB_DB": "symfony"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user