ouyang / fulltext-for-laravel-migrate
There is no license information available for the latest version (1.0.0) of this package.
fulltext for lava migrate
1.0.0
2018-12-19 09:59 UTC
This package is auto-updated.
Last update: 2024-03-26 17:11:10 UTC
README
该插件可以在迁移文件中使用fulltext索引: $table->fulltext(['name', 'content']); 参数为一个数组。
使用方法: composer require ouyang/fulltext-for-laravel-migrate:dev-master 然后在迁移文件中使用下面两句代码: use Ouyang\Concurrency\Schema; use Ouyang\Concurrency\Blueprint; 替换掉: use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint;