ipld-eth-db/db/migrations/00002_create_nodes_table.sql
2021-11-18 08:19:36 -06:00

12 lines
226 B
SQL

-- +goose Up
CREATE TABLE nodes (
client_name VARCHAR,
genesis_block VARCHAR(66),
network_id VARCHAR,
node_id VARCHAR(128) PRIMARY KEY,
chain_id INTEGER DEFAULT 1
);
-- +goose Down
DROP TABLE nodes;