Skip to content

Commit

Permalink
refactor: removed unnesessary triggered function
Browse files Browse the repository at this point in the history
  • Loading branch information
Waishnav committed Mar 14, 2024
1 parent 559e943 commit 9a575d2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/models/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@ class Project < ApplicationRecord
}
}

trigger.before(:insert, :update) do
"tsvector_update_trigger(
searchable, 'pg_catalog.english', description, name
);"
end

searchable do
text :name

Expand Down

0 comments on commit 9a575d2

Please sign in to comment.