ipld-eth-server/db/migrations/20171027174929_initial_transaction_table.sql

15 lines
239 B
MySQL
Raw Normal View History

-- +goose Up
2017-10-31 13:58:04 +00:00
CREATE TABLE transactions
(
id SERIAL PRIMARY KEY,
tx_hash VARCHAR(66),
tx_nonce NUMERIC,
tx_to varchar(66),
tx_gaslimit NUMERIC,
tx_gasprice NUMERIC,
tx_value NUMERIC
);
-- +goose Down
DROP TABLE transactions;