Merge pull request #53 from vulcanize/feature/known_table

Add `known_gaps` table
This commit is contained in:
Ian Norden 2022-03-31 11:12:54 -05:00 committed by GitHub
commit 82f28ae6ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 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

@ -488,6 +488,18 @@ CREATE TABLE public.nodes (
);
--
-- Name: known_gaps; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE eth.known_gaps (
starting_block_number bigint PRIMARY KEY,
ending_block_number bigint,
checked_out boolean,
processing_key bigint
);
--
-- Name: TABLE nodes; Type: COMMENT; Schema: public; Owner: -
--