mirror of
https://github.com/simon987/od-database.git
synced 2025-12-13 23:09:01 +00:00
Task logs now stored on main server
This commit is contained in:
@@ -30,4 +30,17 @@ CREATE TABLE CrawlServer (
|
||||
name TEXT,
|
||||
token TEXT,
|
||||
slots INTEGER
|
||||
)
|
||||
);
|
||||
|
||||
CREATE TABLE TaskResult (
|
||||
id INTEGER PRIMARY KEY,
|
||||
server INT,
|
||||
website_id INT,
|
||||
status_code TEXT,
|
||||
file_count INT,
|
||||
start_time TIMESTAMP,
|
||||
end_time TIMESTAMP,
|
||||
indexed_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
|
||||
FOREIGN KEY (server) REFERENCES CrawlServer(id)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user