diff --git a/src/migrations/M201104110256CreateMessageSource.php b/src/migrations/M201104110256CreateMessageSource.php index 4cdd7fb..1f1e388 100644 --- a/src/migrations/M201104110256CreateMessageSource.php +++ b/src/migrations/M201104110256CreateMessageSource.php @@ -17,8 +17,7 @@ public function up(): void $tableOptions = null; if ($this->db->getDriverName() === 'mysql') { - // http://stackoverflow.com/questions/766809/whats-the-difference-between-utf8-general-ci-and-utf8-unicode-ci - $tableOptions = 'CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE=InnoDB'; + $tableOptions = 'CHARACTER SET utf8mb4 COLLATE utf8mb4_bin ENGINE=InnoDB'; } $this->createTable('{{%source_message}}', [