Skip to content

Instantly share code, notes, and snippets.

@gordonbanderson
Created December 12, 2021 18:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gordonbanderson/4305a3330d22761c78f33b8bf8ea5606 to your computer and use it in GitHub Desktop.
Save gordonbanderson/4305a3330d22761c78f33b8bf8ea5606 to your computer and use it in GitHub Desktop.
Set Collation in SilverStripe
# Allow emoji 🥳 - https://github.com/silverstripe/silverstripe-framework/issues/8062
SilverStripe\ORM\Connect\MySQLDatabase:
connection_charset: utf8mb4
connection_collation: utf8mb4_unicode_ci
charset: utf8mb4
collation: utf8mb4_unicode_ci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment