forked from cerc-io/ipld-eth-server
666ea1c325
- If a header was marked as checked before a transformer was added to the watcher, mark all headers since the new transformer's starting block number as unchecked.
12 lines
342 B
SQL
12 lines
342 B
SQL
-- +goose Up
|
|
-- SQL in this section is executed when the migration is applied.
|
|
CREATE TABLE public.checked_logs
|
|
(
|
|
id SERIAL PRIMARY KEY,
|
|
contract_address VARCHAR(42),
|
|
topic_zero VARCHAR(66)
|
|
);
|
|
|
|
-- +goose Down
|
|
-- SQL in this section is executed when the migration is rolled back.
|
|
DROP TABLE public.checked_logs; |