06881db350
- Indicate that a header has been checked for logs if no logs returned - Indicate that a header has been checked for logs when persisting a log - Fetch headers that need to be checked based on absence of the above
5 lines
224 B
SQL
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
|
|
); |