chainsyncer/sql/sqlite/1.sql

12 lines
379 B
MySQL
Raw Normal View History

2021-02-17 12:44:35 +01:00
CREATE TABLE IF NOT EXISTS chain_sync (
2021-04-04 15:03:58 +02:00
id integer primary key autoincrement,
2021-02-17 12:44:35 +01:00
blockchain varchar not null,
2021-04-04 15:03:58 +02: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
);