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 (
id integer primary key autoincrement,
2021-02-17 12:44:35 +01:00
blockchain varchar not null,
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
);