proposed schema changes
This commit is contained in:
parent
6c27203579
commit
36dc668976
@ -15,7 +15,7 @@ CREATE TABLE eth.header_cids (
|
||||
bloom BYTEA NOT NULL,
|
||||
timestamp BIGINT NOT NULL,
|
||||
times_validated INTEGER NOT NULL DEFAULT 1,
|
||||
base_fee NUMERIC
|
||||
coinbase VARCHAR(66) NOT NULL,
|
||||
);
|
||||
|
||||
-- +goose Down
|
||||
|
@ -8,7 +8,8 @@ CREATE TABLE eth.transaction_cids (
|
||||
dst VARCHAR(66) NOT NULL,
|
||||
src VARCHAR(66) NOT NULL,
|
||||
tx_data BYTEA,
|
||||
tx_type INTEGER
|
||||
tx_type INTEGER,
|
||||
value NUMERIC
|
||||
);
|
||||
|
||||
-- +goose Down
|
||||
|
@ -15,7 +15,7 @@ CREATE TABLE eth.header_cids (
|
||||
bloom BYTEA NOT NULL,
|
||||
timestamp BIGINT NOT NULL,
|
||||
times_validated INTEGER NOT NULL DEFAULT 1,
|
||||
base_fee NUMERIC
|
||||
coinbase VARCHAR(66) NOT NULL
|
||||
);
|
||||
|
||||
-- +goose Down
|
||||
|
@ -8,7 +8,8 @@ CREATE TABLE eth.transaction_cids (
|
||||
dst VARCHAR(66) NOT NULL,
|
||||
src VARCHAR(66) NOT NULL,
|
||||
tx_data BYTEA,
|
||||
tx_type INTEGER
|
||||
tx_type INTEGER,
|
||||
value NUMERIC
|
||||
);
|
||||
|
||||
-- +goose Down
|
||||
|
Loading…
Reference in New Issue
Block a user