mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Merge pull request #3005 from supabase/full-text-search-patch-1
Added missing index statement
This commit is contained in:
1 file changed
+3
-2
@@ -395,8 +395,9 @@ values={[
|
||||
alter table
|
||||
books
|
||||
add column
|
||||
fts tsvector generated always as to_tsvector(description || ' ' || title);
|
||||
|
||||
fts tsvector generated always as to_tsvector(description || ' ' || title) stored;
|
||||
|
||||
create index books_fts on books using gin (fts); -- generate the index
|
||||
|
||||
select id, fts
|
||||
from books;
|
||||
|
||||
Reference in new issue
Block a user