2019-01-22 12:15:29 +00:00
|
|
|
-- +goose Up
|
2018-09-13 15:05:16 +00:00
|
|
|
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
|
2019-01-22 12:15:29 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
-- +goose Down
|
|
|
|
DROP TABLE public.checked_headers;
|