add missing text search configuration

This commit is contained in:
Sandro committed 2021-08-31 08:59:49 +02:00
1 parent 6aec3273b5
commit 87828a0cf1
1 file changed
+1 -1
@@ -395,7 +395,7 @@ values={[
alter table
books
add column
fts tsvector generated always as to_tsvector(description || ' ' || title) stored;
fts tsvector generated always as (to_tsvector('english', description || ' ' || title)) stored;
create index books_fts on books using gin (fts); -- generate the index