Skip to content

Commit

Permalink
Merge pull request #53 from vulcanize/feature/known_table
Browse files Browse the repository at this point in the history
Add `known_gaps` table
  • Loading branch information
i-norden authored Mar 31, 2022
2 parents d8dbd14 + 63e3d66 commit 82f28ae
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
10 changes: 10 additions & 0 deletions db/migrations/00021_create_known_gaps_table.sql
Original file line number Diff line number Diff line change
@@ -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 changes: 12 additions & 0 deletions schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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: -
--
Expand Down

0 comments on commit 82f28ae

Please sign in to comment.