forked from cerc-io/ipld-eth-server
Optimise missing block numbers query (#23)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user