ipld-eth-server/db/migrations/00024_create_checked_headers_table.sql
2019-08-23 10:11:37 -05:00

9 lines
235 B
SQL

-- +goose Up
CREATE TABLE public.checked_headers (
id SERIAL PRIMARY KEY,
header_id INTEGER UNIQUE NOT NULL REFERENCES headers (id) ON DELETE CASCADE
);
-- +goose Down
DROP TABLE public.checked_headers;