Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Update doctrine.rst#9141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Update doctrine.rst#9141
Uh oh!
There was an error while loading.Please reload this page.
Conversation
reference/configuration/doctrine.rst Outdated
| collate:~ | ||
| path:~ | ||
| memory:~ | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
just a minor comment: this blank line should be removed (but we can do that while merging)
javiereguiluz left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
To be honest, this looks like a bug or a poor DX in DoctrineBundle. Table charset/collate should be the same as the one configured in the database ... unless you configure the table options explicitly. But maybe I'm missing something here.
xabbuh commentedJan 28, 2018
For the records, there is a related issues in the DoctrineBundle repo (seedoctrine/DoctrineBundle#766). |
my doctrine.yml had a ```charset: utf8mb4``` but my schema update generated tables with utf8. Seems like there is a separate configuration directive for the tables and this is not inherited from the database
javiereguiluz commentedJan 29, 2018
@tvlooy thanks for this nice little tip. I hope DoctrineBundle fixes it in the future and this is no longer needed. By the way, we merged this in 2.7 branch. |
This PR was submitted for the 4.0 branch but it was merged into the 2.7 branch instead (closes#9141).Discussion----------Update doctrine.rstmy doctrine.yml had a ```charset: utf8mb4``` but my schema update generated tables with utf8. Seems like there is a separate configuration directive for the tables and this is not inherited from the databaseCommits-------81f9051 Update doctrine.rst
my doctrine.yml had a
charset: utf8mb4but my schema update generated tables with utf8. Seems like there is a separate configuration directive for the tables and this is not inherited from the database