2021-02-17 12:44:35 +01:00
|
|
|
CREATE TABLE IF NOT EXISTS chain_sync (
|
2021-02-22 10:57:07 +01:00
|
|
|
id integer primary key autoincrement,
|
2021-02-17 12:44:35 +01:00
|
|
|
blockchain varchar not null,
|
2021-02-22 10:57:07 +01:00
|
|
|
block_start integer not null default 0,
|
|
|
|
tx_start integer not null default 0,
|
|
|
|
block_cursor integer not null default 0,
|
|
|
|
tx_cursor integer not null default 0,
|
|
|
|
block_target integer default null,
|
2021-02-17 12:44:35 +01:00
|
|
|
date_created timestamp not null,
|
|
|
|
date_updated timestamp default null
|
|
|
|
);
|