|
|
|
@ -15,7 +15,7 @@ class m180126_061916_create_session_table extends Migration
|
|
|
|
|
$tableOptions = null; |
|
|
|
|
if ($this->db->driverName === '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_unicode_ci ENGINE=InnoDB'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$this->createTable('{{%session}}', [ |
|
|
|
|