Merge pull request #53 from vulcanize/feature/known_table
Add `known_gaps` table
This commit is contained in:
commit
82f28ae6ba
10
db/migrations/00021_create_known_gaps_table.sql
Normal file
10
db/migrations/00021_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;
|
12
schema.sql
12
schema.sql
@ -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: -
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user