Merge pull request #3005 from supabase/full-text-search-patch-1

Added missing index statement
This commit is contained in:
Copple authored and GitHub committed 2021-08-30 23:04:29 +08:00
commit c4f7475ac5
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;