2019-01-22 12:15:29 +00:00
|
|
|
-- +goose Up
|
2019-03-22 03:43:06 +00:00
|
|
|
CREATE TABLE full_sync_receipts
|
2018-01-03 17:23:43 +00:00
|
|
|
(
|
|
|
|
id SERIAL PRIMARY KEY,
|
2019-03-19 19:11:26 +00:00
|
|
|
transaction_id INTEGER NOT NULL REFERENCES full_sync_transactions (id) ON DELETE CASCADE,
|
2018-01-03 17:23:43 +00:00
|
|
|
contract_address VARCHAR(42),
|
|
|
|
cumulative_gas_used NUMERIC,
|
|
|
|
gas_used NUMERIC,
|
|
|
|
state_root VARCHAR(66),
|
|
|
|
status INTEGER,
|
2019-03-19 19:11:26 +00:00
|
|
|
tx_hash VARCHAR(66)
|
2018-01-03 17:23:43 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
2019-01-22 12:15:29 +00:00
|
|
|
-- +goose Down
|
2019-03-22 03:43:06 +00:00
|
|
|
DROP TABLE full_sync_receipts;
|