mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 00:33:14 +00:00
sqlite fts
This commit is contained in:
parent
76a08df741
commit
9d10d3a7d4
@ -41,17 +41,21 @@ create table if not exists items (
|
||||
date datetime,
|
||||
date_updated datetime,
|
||||
status integer,
|
||||
image text
|
||||
image text,
|
||||
search_rowid integer
|
||||
);
|
||||
|
||||
create index if not exists idx_item_feed_id on items(feed_id);
|
||||
create index if not exists idx_item_status on items(status);
|
||||
create unique index if not exists idx_item_guid on items(guid);
|
||||
create index if not exists idx_item_search_rowid on items(search_rowid);
|
||||
|
||||
create table if not exists settings (
|
||||
key string primary key,
|
||||
val blob
|
||||
);
|
||||
|
||||
create virtual table if not exists search using fts5(title, description, content);
|
||||
`
|
||||
|
||||
type Storage struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user