forked from cerc-io/ipld-eth-server
7 lines
182 B
MySQL
7 lines
182 B
MySQL
|
-- +goose Up
|
||
|
ALTER TABLE blocks
|
||
|
ADD CONSTRAINT node_id_block_number_uc UNIQUE (block_number, node_id);
|
||
|
|
||
|
-- +goose Down
|
||
|
ALTER TABLE blocks
|
||
|
DROP CONSTRAINT node_id_block_number_uc;
|