Revert commented backend code

This commit is contained in:
fayazara 2022-12-15 19:41:07 +05:30
parent d082049466
commit dc19d6da8d
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ module MultiSearchableHelpers
included do
PgSearch.multisearch_options = {
using: {
# trigram: {},
trigram: {},
tsearch: {
prefix: true,
any_word: true,

View file

@ -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