Add kind column in table for watched addresses

This commit is contained in:
Prathamesh Musale 2022-01-19 16:04:46 +05:30
parent 61a4cea80b
commit 79c852d949
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
-- +goose Up
CREATE TABLE eth.watched_addresses (
address VARCHAR(66) PRIMARY KEY,
kind INTEGER NULL NULL,
created_at BIGINT NOT NULL,
watched_at BIGINT NOT NULL,
last_filled_at BIGINT NOT NULL DEFAULT 0

View File

@ -558,6 +558,7 @@ ALTER SEQUENCE eth.uncle_cids_id_seq OWNED BY eth.uncle_cids.id;
CREATE TABLE eth.watched_addresses (
address character varying(66) NOT NULL,
kind integer,
created_at bigint NOT NULL,
watched_at bigint NOT NULL,
last_filled_at bigint DEFAULT 0 NOT NULL