Skip to content

Commit 62978fa

Browse files
authored
fix: fix search with scout database (monicahq/chandler#223)
1 parent 59a4399 commit 62978fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

database/migrations/2020_04_25_133132_create_contacts_table.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public function up()
3737

3838
if (config('scout.driver') === 'database' && in_array(DB::connection()->getDriverName(), ['mysql', 'pgsql'])) {
3939
$table->fullText('first_name');
40+
$table->fullText('last_name');
4041
$table->fullText('middle_name');
4142
$table->fullText('nickname');
4243
$table->fullText('maiden_name');

0 commit comments

Comments
 (0)