forked from cerc-io/ipld-eth-server
17 lines
499 B
SQL
17 lines
499 B
SQL
-- +goose Up
|
|
CREATE TABLE full_sync_receipts
|
|
(
|
|
id SERIAL PRIMARY KEY,
|
|
transaction_id INTEGER NOT NULL REFERENCES full_sync_transactions (id) ON DELETE CASCADE,
|
|
contract_address_id INTEGER NOT NULL REFERENCES addresses (id) ON DELETE CASCADE,
|
|
cumulative_gas_used NUMERIC,
|
|
gas_used NUMERIC,
|
|
state_root VARCHAR(66),
|
|
status INTEGER,
|
|
tx_hash VARCHAR(66)
|
|
);
|
|
|
|
|
|
-- +goose Down
|
|
DROP TABLE full_sync_receipts;
|