mirror of
https://github.com/symfony/recipes.git
synced 2026-09-17 18:16:34 +03:00
add note to configure doctrine.yaml
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
"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",
|
||||
"#3": "Configure your db driver and server_version in config/packages/doctrine.yaml",
|
||||
"DATABASE_URL": "mysql://db_user:db_password@127.0.0.1:3306/db_name"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user