Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

fix: fix search with scout database #223

Merged
merged 1 commit into from
Sep 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: fix search with scout database
  • Loading branch information
asbiin committed Sep 14, 2022
commit 56ba8cd5ec9ba892953a5a5cf0131cf73496ed9a
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