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

6 lines
110 B
SQL

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