diff --git a/migrations/2018_01_18_135000_change_posts_b8_columns.php b/migrations/2018_01_18_135000_change_posts_b8_columns.php index 03b44f92c..406210a81 100644 --- a/migrations/2018_01_18_135000_change_posts_b8_columns.php +++ b/migrations/2018_01_18_135000_change_posts_b8_columns.php @@ -34,9 +34,8 @@ return [ $table->renameColumn('edited_user_id', 'edit_user_id'); $table->renameColumn('edited_user_id', 'hidden_user_id'); - }); - $prefix = $schema->getConnection()->getTablePrefix(); - $schema->getConnection()->statement('ALTER TABLE '.$prefix.'posts MODIFY content FULLTEXT'); + $table->mediumText('content')->change(); + }); } ];