mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 13:05:50 +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', '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');
|
});
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user