Improve graph query performance
This commit is contained in:
parent
603e716638
commit
3458f38c96
1 changed files with 5 additions and 0 deletions
5
migrations/20231023204335_moar_index.sql
Normal file
5
migrations/20231023204335_moar_index.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
CREATE INDEX idx_commits_hash_reachable
|
||||||
|
ON commits (hash, reachable);
|
||||||
|
|
||||||
|
CREATE INDEX idx_commit_links_child_parent
|
||||||
|
ON commit_links (child, parent);
|
||||||
Loading…
Add table
Add a link
Reference in a new issue