Return graph data at /graph/data

This commit is contained in:
Joscha 2023-08-14 23:23:36 +02:00
parent 3cf444ffc2
commit 3c9fc1ce75
8 changed files with 138 additions and 5 deletions

View file

@ -26,5 +26,8 @@ CREATE TABLE refs (
FOREIGN KEY (hash) REFERENCES commits (hash) ON DELETE CASCADE
) STRICT;
CREATE INDEX idx_commits_committer_date_hash
ON commits (committer_date, hash);
CREATE INDEX idx_commit_links_parent_child
ON commit_links(parent, child);
ON commit_links (parent, child);