Skip to content

Commit

Permalink
Merge pull request #64 from creative-commoners/pulls/4.7/make-mb4-opt-in
Browse files Browse the repository at this point in the history
FIX Make UTF-MB4 collation / charset default opt-in
  • Loading branch information
chillu authored Jan 12, 2021
2 parents 711b606 + 03e6abb commit e21d623
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
8 changes: 0 additions & 8 deletions app/_config/database.yml

This file was deleted.

11 changes: 11 additions & 0 deletions app/_config/mysite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,14 @@ Name: myproject
---
SilverStripe\Core\Manifest\ModuleManifest:
project: app

# UTF8MB4 has limited support in older MySQL versions.
# Remove this configuration if you experience issues.
---
Name: myproject-database
---
SilverStripe\ORM\Connect\MySQLDatabase:
connection_charset: utf8mb4
connection_collation: utf8mb4_unicode_ci
charset: utf8mb4
collation: utf8mb4_unicode_ci

0 comments on commit e21d623

Please sign in to comment.