forked from cerc-io/ipld-eth-server
Convert raw header to JSON
- Enables parsing values off of header via Postgres migration
This commit is contained in:
@@ -2,7 +2,7 @@ CREATE TABLE public.headers (
|
||||
id SERIAL PRIMARY KEY,
|
||||
hash VARCHAR(66),
|
||||
block_number BIGINT,
|
||||
raw bytea,
|
||||
raw JSONB,
|
||||
eth_node_id INTEGER,
|
||||
eth_node_fingerprint VARCHAR(128),
|
||||
CONSTRAINT eth_nodes_fk FOREIGN KEY (eth_node_id)
|
||||
|
||||
Reference in New Issue
Block a user