mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
minor #17 Proposed a help note for the DB_URL config format (javiereguiluz)
This PR was squashed before being merged into the master branch (closes #17).
Discussion
----------
Proposed a help note for the DB_URL config format
I'm not sure about this, but given that the URL format is so new to most developers, should we add a help note like this one?
Commits
-------
193b15b Proposed a help note for the DB_URL config format
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "For a sqlite database, use: \"sqlite:///%kernel.project_dir%/var/data.db\"",
|
||||
"#1": "DB_URL format: \"vendor://username:password@host-or-ip:port/database-name?optional=config\"",
|
||||
"#2": "For a sqlite database, use: \"sqlite:///%kernel.project_dir%/var/data.db\"",
|
||||
"DATABASE_URL": "mysql://root@127.0.0.1:3306/symfony?charset=utf8mb4"
|
||||
},
|
||||
"aliases": ["doctrine", "orm"]
|
||||
|
||||
Reference in New Issue
Block a user