ipld-eth-server/db/migrations/00004_add_primary_key_to_blocks.sql

6 lines
110 B
MySQL
Raw Normal View History

-- +goose Up
ALTER TABLE blocks ADD COLUMN id SERIAL PRIMARY KEY;
-- +goose Down
ALTER TABLE blocks DROP id;