add missing extension
gitea/wcs/pipeline/head There was a failure building this commit
Details
gitea/wcs/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
04d87f5259
commit
11f0998225
|
@ -1703,6 +1703,7 @@ def init_search_tokens(conn=None, cur=None):
|
|||
init_search_tokens_data(cur)
|
||||
|
||||
# Index at the end, small performance trick... not that useful, but it's free...
|
||||
cur.execute("CREATE EXTENSION IF NOT EXISTS pg_trgm;")
|
||||
cur.execute("CREATE INDEX IF NOT EXISTS wcs_search_tokens_trgm ON wcs_search_tokens USING gin(token gin_trgm_ops);")
|
||||
|
||||
# And last: functions to use this brand new table
|
||||
|
|
Loading…
Reference in New Issue