ipld-eth-server/db/migrations/00044_create_checked_headers_table.sql

9 lines
288 B
MySQL
Raw Normal View History

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