Update watched addresses table to track gap filling
This commit is contained in:
parent
e05942ec17
commit
61a4cea80b
@ -1,7 +1,9 @@
|
||||
-- +goose Up
|
||||
CREATE TABLE eth.watched_addresses (
|
||||
address VARCHAR(66) PRIMARY KEY,
|
||||
added_at BIGINT NOT NULL
|
||||
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
|
||||
|
||||
@ -558,7 +558,9 @@ ALTER SEQUENCE eth.uncle_cids_id_seq OWNED BY eth.uncle_cids.id;
|
||||
|
||||
CREATE TABLE eth.watched_addresses (
|
||||
address character varying(66) NOT NULL,
|
||||
added_at bigint NOT NULL
|
||||
created_at bigint NOT NULL,
|
||||
watched_at bigint NOT NULL,
|
||||
last_filled_at bigint DEFAULT 0 NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user