forked from cerc-io/ipld-eth-server
6 lines
166 B
MySQL
6 lines
166 B
MySQL
|
CREATE TABLE nodes (
|
||
|
id SERIAL PRIMARY KEY,
|
||
|
genesis_block VARCHAR(66),
|
||
|
network_id NUMERIC,
|
||
|
CONSTRAINT node_uc UNIQUE (genesis_block, network_id)
|
||
|
);
|