ucaka/laravel-fulltext-rebuild
Composer 安装命令:
composer require ucaka/laravel-fulltext-rebuild
包简介
Rebuilds MySQL FULLTEXT indexes
README 文档
README
This is a simple library for laravel that helps you rebuild fulltext indexes for MySQL.
This is useful when you change innodb_ft_min_token_size property.
You can find more info about MySQL fulltext index length here
Always backup your database before doing manipulations to it.
Usage
You must include the library service provider inside config/app.php
$providers = [ ... Ucaka\FullTextRebuild\Providers\FullTextRebuildProvider::class, ]
The only thing that a service provider will do for you is register a command.
If you prefer you can skip the provider and directly add the command
\Ucaka\FullTextRebuild\Console\Commands\FullTextRebuild inside your app/Console/Kernel.php
After you installed the command just run it
php artisan mysql:fulltext:rebuild
If it's needed you can specify custom database connection with --connection or -c option
php artisan mysql:fulltext:rebuild -c "custom_connection"
统计信息
- 总下载量: 430
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-06-15