diff --git a/migrations/m170510_063111_alter_text_fields.php b/migrations/m170510_063111_alter_text_fields.php index 6a996e4..86bd93e 100644 --- a/migrations/m170510_063111_alter_text_fields.php +++ b/migrations/m170510_063111_alter_text_fields.php @@ -8,15 +8,11 @@ class m170510_063111_alter_text_fields extends Migration { public function safeUp() { $table = Yii::$app->get(MailQueue::NAME)->table; - $this->alterColumn($table, 'html_body', 'LONGTEXT'); - $this->alterColumn($table, 'html_text', 'LONGTEXT'); $this->alterColumn($table, 'swift_message', 'LONGTEXT'); } public function safeDown() { $table = Yii::$app->get(MailQueue::NAME)->table; - $this->alterColumn($table, 'html_body', Schema::TYPE_TEXT); - $this->alterColumn($table, 'html_text', Schema::TYPE_TEXT); $this->alterColumn($table, 'swift_message', Schema::TYPE_TEXT); }