Add Migration file

This commit is contained in:
Abdul Rabbani 2022-03-31 10:45:11 -04:00
parent a1b75c31e9
commit e99787242e
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,10 @@
-- +goose Up
CREATE TABLE eth.known_gaps (
starting_block_number bigint PRIMARY KEY,
ending_block_number bigint,
checked_out boolean,
processing_key bigint
);
-- +goose Down
DROP TABLE eth.known_gaps;

View File

@ -477,7 +477,7 @@ CREATE TABLE eth.known_gaps (
starting_block_number bigint PRIMARY KEY, starting_block_number bigint PRIMARY KEY,
ending_block_number bigint, ending_block_number bigint,
checked_out boolean, checked_out boolean,
processing_key INT processing_key bigint
); );