nanterre: ajoute des index trigrammes sur prénoms et noms (#22330)

This commit is contained in:
Benjamin Dauvergne 2018-03-07 10:36:08 +01:00 committed by Thomas NOEL
parent 87f99bfa64
commit ef8a4565d6
1 changed files with 6 additions and 0 deletions

View File

@ -115,3 +115,9 @@ class ZooNanterreConfig(AppConfig):
"immutable_normalize(content->>'prenoms' || ' ' || (content->>'nom_de_naissance'))")
schema.create_trigram_index(
"immutable_normalize(content->>'prenoms' || ' ' || (content->>'nom_d_usage'))")
schema.create_trigram_index(
"immutable_normalize(content->>'prenoms')")
schema.create_trigram_index(
"immutable_normalize(content->>'nom_d_usage')")
schema.create_trigram_index(
"immutable_normalize(content->>'nom_de_naissance')")