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

crawler.sql: add views/indexes to inspect missing repos

parent ecca87dc
No related branches found
No related tags found
No related merge requests found
......@@ -88,3 +88,19 @@ create table crawl_history (
stdout text,
stderr text
);
create index on crawl_history (repo);
create view missing_orig_repos AS
select *
from orig_repos as repos
where not exists
(select 1 from crawl_history as history
where history.repo = repos.id);
create view missing_fork_repos AS
select *
from fork_repos as repos
where not exists
(select 1 from crawl_history as history
where history.repo = repos.id);
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