ipld-eth-state-snapshot/db/migrations/00001_create_ipfs_blocks_table.sql
2020-07-16 10:34:56 -05:00

9 lines
151 B
SQL

-- +goose Up
CREATE TABLE IF NOT EXISTS public.blocks (
key TEXT UNIQUE NOT NULL,
data BYTEA NOT NULL
);
-- +goose Down
DROP TABLE public.blocks;