-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from vulcanize/release-v3.2.0
update the pre- and post- batch sets with new meta schema and tables
- Loading branch information
Showing
13 changed files
with
75 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +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 | ||
CREATE TABLE eth_meta.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; | ||
DROP TABLE eth_meta.known_gaps; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
db/post_batch_processing_migrations/00023_create_pk_constraints_part1.sql
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
db/post_batch_processing_migrations/00024_create_eth_meta_schema.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-- +goose Up | ||
CREATE SCHEMA eth_meta; | ||
|
||
-- +goose Down | ||
DROP SCHEMA eth_meta; |
10 changes: 10 additions & 0 deletions
10
db/post_batch_processing_migrations/00025_create_watched_addresses_table.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-- +goose Up | ||
CREATE TABLE eth_meta.watched_addresses ( | ||
address VARCHAR(66) PRIMARY KEY, | ||
created_at BIGINT NOT NULL, | ||
watched_at BIGINT NOT NULL, | ||
last_filled_at BIGINT NOT NULL DEFAULT 0 | ||
); | ||
|
||
-- +goose Down | ||
DROP TABLE eth_meta.watched_addresses; |
10 changes: 10 additions & 0 deletions
10
db/post_batch_processing_migrations/00026_create_known_gaps_table.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-- +goose Up | ||
CREATE TABLE eth_meta.known_gaps ( | ||
starting_block_number bigint PRIMARY KEY, | ||
ending_block_number bigint, | ||
checked_out boolean, | ||
processing_key bigint | ||
); | ||
|
||
-- +goose Down | ||
DROP TABLE eth_meta.known_gaps; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters