ipld-eth-server/db/migrations/00036_create_ipfs_blocks_table.sql
2019-12-02 13:24:58 -06: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;