ppf: add retrievals field so we know whether an url is new

use

sqlite3 urls.sqlite "alter table uris add retrievals INT"
sqlite3 urls.sqlite "update uris set retrievals=0"
This commit is contained in:
rofl0r
2019-01-12 16:07:56 +00:00
committed by mickael
parent bc41bad9de
commit 69d366f7eb
2 changed files with 7 additions and 5 deletions

1
dbs.py
View File

@@ -19,6 +19,7 @@ def create_table_if_not_exists(sqlite, dbname):
check_time INT,
error INT,
stale_count INT,
retrievals INT,
added INT
)""")