Skip to content
Snippets Groups Projects
Commit 802baf64 authored by Stefano Zacchiroli's avatar Stefano Zacchiroli
Browse files

crawler.sql: add crawl_history table

parent 752e23eb
No related branches found
No related tags found
No related merge requests found
......@@ -76,3 +76,15 @@ begin
end
$$
language plpgsql;
create table crawl_history (
id bigserial primary key,
repo integer references repos(id),
task_id uuid, -- celery task id
date timestamptz not null,
duration interval,
status boolean,
result json,
stdout text,
stderr text
);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment