ipld-eth-server/db/migrations/1536785159_create_checked_headers_table.up.sql

5 lines
224 B
MySQL
Raw Normal View History

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
);