ipld-eth-server/db/migrations/1532468317_create_checked_headers_table.up.sql
2018-11-01 14:12:58 -05:00

5 lines
224 B
SQL

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