forked from cerc-io/ipld-eth-server
d5852654bb
* Update block table names * Update transaction table names
20 lines
400 B
PL/PgSQL
20 lines
400 B
PL/PgSQL
BEGIN;
|
|
ALTER TABLE transactions
|
|
RENAME COLUMN hash TO tx_hash;
|
|
|
|
ALTER TABLE transactions
|
|
RENAME COLUMN nonce TO tx_nonce;
|
|
|
|
ALTER TABLE transactions
|
|
RENAME COLUMN gaslimit TO tx_gaslimit;
|
|
|
|
ALTER TABLE transactions
|
|
RENAME COLUMN gasprice TO tx_gasprice;
|
|
|
|
ALTER TABLE transactions
|
|
RENAME COLUMN value TO tx_value;
|
|
|
|
ALTER TABLE transactions
|
|
RENAME COLUMN input_data TO tx_input_data;
|
|
COMMIT;
|