ipld-eth-db/db/pre_batch_processing_migrations/00002_create_nodes_table.sql

12 lines
233 B
SQL

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