ipfs-ethdb/postgres/db/migrations/00008_create_eth_ancient_tds_table.sql
2020-09-14 10:15:39 -05:00

8 lines
163 B
SQL

-- +goose Up
CREATE TABLE IF NOT EXISTS eth.ancient_tds (
block_number BIGINT UNIQUE NOT NULL,
td BYTEA NOT NULL
);
-- +goose Down
DROP TABLE eth.ancient_tds;