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

5 lines
107 B
SQL

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