From 62978faf217948e93b82176b5142e7ee856e9ded Mon Sep 17 00:00:00 2001 From: Alexis Saettler Date: Wed, 14 Sep 2022 23:09:34 +0200 Subject: [PATCH] fix: fix search with scout database (monicahq/chandler#223) --- database/migrations/2020_04_25_133132_create_contacts_table.php | 1 + 1 file changed, 1 insertion(+) diff --git a/database/migrations/2020_04_25_133132_create_contacts_table.php b/database/migrations/2020_04_25_133132_create_contacts_table.php index e2fa78dea26..7db94ce7c92 100644 --- a/database/migrations/2020_04_25_133132_create_contacts_table.php +++ b/database/migrations/2020_04_25_133132_create_contacts_table.php @@ -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');