Add Migration file
This commit is contained in:
parent
a1b75c31e9
commit
e99787242e
10
db/migrations/00019_create_known_gaps_table.sql
Normal file
10
db/migrations/00019_create_known_gaps_table.sql
Normal 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;
|
@ -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
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user