forked from cerc-io/ipld-eth-server
10 lines
142 B
MySQL
10 lines
142 B
MySQL
|
BEGIN;
|
||
|
|
||
|
ALTER TABLE nodes
|
||
|
DROP CONSTRAINT node_uc;
|
||
|
|
||
|
ALTER TABLE nodes
|
||
|
ADD CONSTRAINT node_uc UNIQUE (genesis_block, network_id);
|
||
|
|
||
|
COMMIT;
|