Подскажите, пожалуйста, как в yii2 в миграции указать кодировку поля? Нужна utf8mb4 чтобы в название записать спец.символы.
$this->createTable(Employee::tableName(), [
'id' => $this->primaryKey(4),
'name' => $this->string(50)->notNull(),
'birthday' => $this->date(),
'phone' => $this->string(13),
'address' => $this->string(100),
'hire_date' => $this->date(),
'dismissal_date' => $this->date(),
'password_hash' => $this->string(60),
], 'CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE=InnoDB');