Skip to content
This repository was archived by the owner on Feb 16, 2021. It is now read-only.

Conversation

@bjorvack
Copy link
Contributor

@bjorvack bjorvack commented Jun 29, 2017

fixes #106
Sets the database charset to UTF8MB4.
The annotations for entities should add the options so migrations are made correctly

/**
 * @ORM\Entity
 * @ORM\Table(options={"collate":"utf8mb4_general_ci", "charset":"utf8mb4"})
 */ ```

@ohvitorino
Copy link
Contributor

Will this fix my problem with wrong casing of tables names while executing migrations?

@bjorvack bjorvack changed the title Set database charset to utf8mb4 in config.ymml Set database charset to utf8mb4 in config.yml Jun 30, 2017
@tijsverkoyen
Copy link
Member

Can somebody explain what this fixes, and why?

@carakas
Copy link
Contributor

carakas commented Jul 11, 2017

@carakas
Copy link
Contributor

carakas commented Jul 11, 2017

@ohvitorino not that I'm aware of

@jonasdekeukelaere jonasdekeukelaere merged commit fca8661 into master Jul 14, 2017
@tijsverkoyen tijsverkoyen deleted the 106-use-utf8mb4-as-encoding branch May 23, 2018 10:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use utf8mb4 as encoding

6 participants