Optimise missing block numbers query (#23)

This commit is contained in:
Edvard Hübinette
2019-03-05 11:52:38 +01:00
committed by GitHub
parent 6ff67f26d1
commit 55b6ad9381
3 changed files with 18 additions and 9 deletions
@@ -12,6 +12,9 @@ CREATE TABLE public.headers (
ON DELETE CASCADE
);
-- Index is removed when table is
CREATE INDEX headers_block_number ON public.headers (block_number);
-- +goose Down
DROP TABLE public.headers;