ipld-eth-db/db/migrations/00001_create_ipfs_blocks_table.sql
2021-11-14 18:23:26 -06:00

9 lines
147 B
SQL

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