Commit e8816b2
committed
minor #7904 Fix incoherent utf8mb4 collation in Doctrine setup (marcverney)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #7904).
Discussion
----------
Fix incoherent utf8mb4 collation in Doctrine setup
The "Setting up the Database to be UTF8" section of the "Databases and the Doctrine ORM" page recommends the following default collation setup:
- in MySQL's my.cnf: `collation-server = utf8mb4_general_ci`
- and/or in Symfony's config.yml: `collate: utf8mb4_unicode_ci`
As a reader I am confused by this difference. If there's a reason for it, I think it should be explained in the text. On the other hand, if there is none, both lines should probably reference `utf8mb4_unicode_ci` (reason: http://stackoverflow.com/a/766996/2516943). This PR intends to fix the latter case.
Commits
-------
c27f16a Fix incoherent ut8mb4 collation in Doctrine setup1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
0 commit comments