mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Impl api get batch(es)
This commit is contained in:
@@ -17,7 +17,7 @@ CREATE TABLE coordinator (
|
||||
|
||||
CREATE TABLE batch (
|
||||
item_id SERIAL PRIMARY KEY,
|
||||
batch_num BIGINT NOT NULL,
|
||||
batch_num BIGINT UNIQUE NOT NULL,
|
||||
eth_block_num BIGINT NOT NULL REFERENCES block (eth_block_num) ON DELETE CASCADE,
|
||||
forger_addr BYTEA NOT NULL, -- fake foreign key for coordinator
|
||||
fees_collected BYTEA NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user