Last active
February 8, 2018 13:05
-
-
Save cristianc-ty/795523f029e64d7f3690a0637e1b9323 to your computer and use it in GitHub Desktop.
db_extensions.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create extension if not exists pg_trgm; | |
create extension if not exists unaccent; | |
create text search configuration en ( copy = pg_catalog.english ); | |
alter text search configuration en | |
alter mapping for asciiword, asciihword, hword_asciipart, word, hword, hword_part | |
with unaccent, english_stem; | |
set default_text_search_config = 'en'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment