forked from cerc-io/ipld-eth-server
11 lines
152 B
MySQL
11 lines
152 B
MySQL
|
BEGIN;
|
||
|
|
||
|
ALTER TABLE blocks
|
||
|
DROP CONSTRAINT node_fk;
|
||
|
|
||
|
ALTER TABLE blocks
|
||
|
ADD CONSTRAINT node_fk
|
||
|
FOREIGN KEY (node_id)
|
||
|
REFERENCES nodes (id);
|
||
|
|
||
|
COMMIT;
|