2021-02-22 22:23:30 +01:00
|
|
|
DROP TABLE IF EXISTS chain_sync_filter;
|
|
|
|
CREATE TABLE IF NOT EXISTS chain_sync_filter (
|
|
|
|
id serial primary key not null,
|
|
|
|
chain_sync_id integer not null,
|
|
|
|
flags bytea default null,
|
|
|
|
flags_start bytea default null,
|
|
|
|
count integer not null default 0,
|
2021-02-23 08:24:57 +01:00
|
|
|
digest char(64) not null,
|
2021-02-22 22:23:30 +01:00
|
|
|
CONSTRAINT fk_chain_sync
|
|
|
|
FOREIGN KEY(chain_sync_id)
|
|
|
|
REFERENCES chain_sync(id)
|
|
|
|
);
|