ipfs-ethdb/postgres/db/migrations/00004_create_ancient_headers_table.sql
2020-09-14 08:51:48 -05:00

8 lines
175 B
SQL

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