Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
AnourValar committed Sep 25, 2024
1 parent 9d5f848 commit f76d73a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/PostgresTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected function conditionalIndexNotNull(string $tableName, string $column)
protected function addRumFullText(string $tableName, string $columnName = 'search_fulltext', string $locale = null): void
{
if (! $locale) {
$locale = config('app.fallback_locale');
$locale = config('app.fulltext_locale', config('app.fallback_locale'));
}

\DB::statement("ALTER TABLE {$tableName} ADD COLUMN {$columnName} TSVECTOR");
Expand Down

0 comments on commit f76d73a

Please sign in to comment.