Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Adds support to set charset/collation in config.yml#3

Open
douglas wants to merge 1 commit intovmware-archive:masterfrom
douglas:support_different_charset_collation
Open

Adds support to set charset/collation in config.yml#3
douglas wants to merge 1 commit intovmware-archive:masterfrom
douglas:support_different_charset_collation

Conversation

@douglas
Copy link

@douglas douglas commented Mar 19, 2018

This allows us to use utf8mb4 charset and utf8mb4_unicode_ci collation in config.yml, which is needed to migrate text that contains emojis.

config.yml example:

mysql:
  database: mysql_database
  username: root
  password: root
  host: 127.0.0.1
  port: 3306
  charset: utf8mb4
  collation: utf8mb4_unicode_ci

postgresql:
  database: pg_database
  username: postgres
  host: 127.0.0.1
  port: 5432
  ssl_mode: disable

This allows us to use `utf8mb4` charset and
`utf8mb4_unicode_ci` collation, which is required
to migrate text that contains `emojis`.
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants