[fix #1097] Accent insensitive search

This commit is contained in:
simon lehericey 2018-01-08 14:59:23 +01:00 committed by Simon Lehericey
parent 6a2b575027
commit 2bc61f9f3f
4 changed files with 13 additions and 3 deletions

View file

@ -0,0 +1,9 @@
class EnableUnaccentPostgresqlExtension < ActiveRecord::Migration[5.0]
def up
execute 'CREATE EXTENSION unaccent;'
end
def down
execute 'DROP EXTENSION unaccent;'
end
end