ipld-eth-db/db/batch_process_migrations/00001_create_ipfs_blocks_table.sql

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;