1
0
Fork 0
miniflux/database/sql/schema_version_20.sql

3 lines
244 B
MySQL
Raw Normal View History

alter table entries add column document_vectors tsvector;
update entries set document_vectors = to_tsvector(substring(title || ' ' || coalesce(content, '') for 1000000));
create index document_vectors_idx on entries using gin(document_vectors);