mirror of
https://github.com/simon987/od-database.git
synced 2025-12-16 08:09:04 +00:00
Task crawl result now logged in a database
This commit is contained in:
@@ -1,8 +1,18 @@
|
||||
|
||||
CREATE TABLE Queue (
|
||||
id INTEGER PRIMARY KEY,
|
||||
website_id INTEGER,
|
||||
url TEXT,
|
||||
priority INTEGER,
|
||||
callback_type TEXT,
|
||||
callback_args TEXT
|
||||
);
|
||||
|
||||
CREATE TABLE TaskResult (
|
||||
id INTEGER PRIMARY KEY,
|
||||
website_id INT,
|
||||
status_code TEXT,
|
||||
file_count INT,
|
||||
start_time INT,
|
||||
end_time INT
|
||||
);
|
||||
Reference in New Issue
Block a user