ipfs-ethdb/postgres/db/migrations/00001_create_ipfs_blocks_table.sql

9 lines
151 B
MySQL
Raw Normal View History

2020-09-08 18:36:41 +00:00
-- +goose Up
CREATE TABLE IF NOT EXISTS public.blocks (
key TEXT UNIQUE NOT NULL,
data BYTEA NOT NULL
);
-- +goose Down
DROP TABLE public.blocks;