mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
add missing text search configuration
This commit is contained in:
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
|
||||
|
||||
|
||||
Reference in new issue
Block a user