ipld-eth-db/db/migrations/00019_create_watched_addresses_table.sql
2022-08-30 12:05:51 -05:00

11 lines
310 B
SQL

-- +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;