proposed schema changes

This commit is contained in:
i-norden 2021-11-25 11:16:13 -06:00
parent 6c27203579
commit 36dc668976
4 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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