miniflux/database/sql/schema_version_20.sql
2018-08-01 20:28:45 -07:00

3 lines
No EOL
221 B
SQL

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