Skip to content

Commit 85a7259

Browse files
authored
Merge pull request #44 from necrox87/patch-2
Remove obsolete alterColumn for fields
2 parents 15ec525 + 0cfb46d commit 85a7259

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

migrations/m170510_063111_alter_text_fields.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,11 @@ class m170510_063111_alter_text_fields extends Migration {
88

99
public function safeUp() {
1010
$table = Yii::$app->get(MailQueue::NAME)->table;
11-
$this->alterColumn($table, 'html_body', 'LONGTEXT');
12-
$this->alterColumn($table, 'html_text', 'LONGTEXT');
1311
$this->alterColumn($table, 'swift_message', 'LONGTEXT');
1412
}
1513

1614
public function safeDown() {
1715
$table = Yii::$app->get(MailQueue::NAME)->table;
18-
$this->alterColumn($table, 'html_body', Schema::TYPE_TEXT);
19-
$this->alterColumn($table, 'html_text', Schema::TYPE_TEXT);
2016
$this->alterColumn($table, 'swift_message', Schema::TYPE_TEXT);
2117
}
2218

0 commit comments

Comments
 (0)