ipld-eth-server/db/migrations/00002_add_columns_to_blocks.sql
2019-02-26 00:52:54 -06:00

14 lines
287 B
SQL

-- +goose Up
ALTER TABLE blocks
ADD COLUMN block_gaslimit DOUBLE PRECISION,
ADD COLUMN block_gasused DOUBLE PRECISION,
ADD COLUMN block_time DOUBLE PRECISION;
-- +goose Down
ALTER TABLE blocks
DROP COLUMN block_gaslimit,
DROP COLUMN block_gasused,
DROP COLUMN block_time;