ipld-eth-db/db/migrations/00018_create_watched_addresses_table.sql

11 lines
310 B
MySQL
Raw Permalink Normal View History

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