Initial commit
This commit is contained in:
12
sql/postgresql/1.sql
Normal file
12
sql/postgresql/1.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
DROP TABLE chain_sync;
|
||||
CREATE TABLE IF NOT EXISTS chain_sync (
|
||||
id serial primary key not null,
|
||||
blockchain varchar not null,
|
||||
block_start int not null default 0,
|
||||
tx_start int not null default 0,
|
||||
block_cursor int not null default 0,
|
||||
tx_cursor int not null default 0,
|
||||
block_target int default null,
|
||||
date_created timestamp not null,
|
||||
date_updated timestamp default null
|
||||
);
|
||||
Reference in New Issue
Block a user