Revert commented backend code
This commit is contained in:
parent
d082049466
commit
dc19d6da8d
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ module MultiSearchableHelpers
|
|||
included do
|
||||
PgSearch.multisearch_options = {
|
||||
using: {
|
||||
# trigram: {},
|
||||
trigram: {},
|
||||
tsearch: {
|
||||
prefix: true,
|
||||
any_word: true,
|
||||
|
|
|
@ -3,7 +3,7 @@ class EnableMultiSearchable < ActiveRecord::Migration[6.1]
|
|||
Contact.rebuild_pg_search_documents
|
||||
PgSearch::Multisearch.rebuild(Conversation)
|
||||
PgSearch::Multisearch.rebuild(Message)
|
||||
# execute 'create extension pg_trgm;'
|
||||
execute 'create extension pg_trgm;'
|
||||
end
|
||||
|
||||
def down
|
||||
|
|
Loading…
Reference in a new issue