store http state
This commit is contained in:
parent
0949ffc027
commit
2eee8baa26
2 changed files with 40 additions and 0 deletions
|
|
@ -61,6 +61,12 @@ create virtual table if not exists search using fts4(title, description, content
|
|||
create trigger if not exists del_item_search after delete on items begin
|
||||
delete from search where rowid = old.search_rowid;
|
||||
end;
|
||||
|
||||
create table if not exists http_state (
|
||||
url string not null primary key,
|
||||
last_modified string not null,
|
||||
etag string not null
|
||||
);
|
||||
`
|
||||
|
||||
type Storage struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue