ipfs-ethdb/postgres/db/migrations/00005_create_ancient_hashes_table.sql

8 lines
171 B
MySQL
Raw Normal View History

2020-09-14 13:51:48 +00:00
-- +goose Up
CREATE TABLE IF NOT EXISTS eth.ancient_hashes (
block_number BIGINT UNIQUE NOT NULL,
hash BYTEA NOT NULL
);
-- +goose Down
DROP TABLE eth.ancient_hashes;