Skip to content

Commit

Permalink
fix: fix search with scout database (monicahq/chandler#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Sep 14, 2022
1 parent 59a4399 commit 62978fa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public function up()

if (config('scout.driver') === 'database' && in_array(DB::connection()->getDriverName(), ['mysql', 'pgsql'])) {
$table->fullText('first_name');
$table->fullText('last_name');
$table->fullText('middle_name');
$table->fullText('nickname');
$table->fullText('maiden_name');
Expand Down

0 comments on commit 62978fa

Please sign in to comment.