instead of changing fulltext, use medium text schema builder change on posts.content

This commit is contained in:
Daniel Klabbers 2018-07-19 09:52:20 +02:00
parent cb89203ac5
commit ccd4729011

View File

@ -34,9 +34,8 @@ return [
$table->renameColumn('edited_user_id', 'edit_user_id'); $table->renameColumn('edited_user_id', 'edit_user_id');
$table->renameColumn('edited_user_id', 'hidden_user_id'); $table->renameColumn('edited_user_id', 'hidden_user_id');
});
$prefix = $schema->getConnection()->getTablePrefix(); $table->mediumText('content')->change();
$schema->getConnection()->statement('ALTER TABLE '.$prefix.'posts MODIFY content FULLTEXT'); });
} }
]; ];