2021-02-17 12:44:35 +01:00
|
|
|
CREATE TABLE IF NOT EXISTS chain_sync_filter (
|
2021-02-22 10:57:07 +01:00
|
|
|
id integer primary key autoincrement not null,
|
|
|
|
chain_sync_id integer not null,
|
2021-02-17 12:44:35 +01:00
|
|
|
flags bytea default null,
|
2021-02-22 10:57:07 +01:00
|
|
|
flags_start bytea default null,
|
|
|
|
count integer not null default 0,
|
2021-02-17 12:44:35 +01:00
|
|
|
digest char(64) not null default '0000000000000000000000000000000000000000000000000000000000000000',
|
|
|
|
CONSTRAINT fk_chain_sync
|
|
|
|
FOREIGN KEY(chain_sync_id)
|
|
|
|
REFERENCES chain_sync(id)
|
|
|
|
);
|