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

9 lines
147 B
MySQL
Raw Normal View History

2021-08-29 18:55:44 +00:00
-- +goose Up
CREATE TABLE IF NOT EXISTS public.blocks (
2021-11-15 00:06:02 +00:00
key TEXT PRIMARY KEY,
2021-08-29 18:55:44 +00:00
data BYTEA NOT NULL
);
-- +goose Down
DROP TABLE public.blocks;