mirror of
https://github.com/flarum/framework.git
synced 2024-12-03 07:33:36 +08:00
instead of changing fulltext, use medium text schema builder change on posts.content
This commit is contained in:
parent
cb89203ac5
commit
ccd4729011
|
@ -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();
|
||||
});
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue
Block a user