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

12 lines
226 B
MySQL
Raw Normal View History

-- +goose Up
CREATE TABLE nodes (
client_name VARCHAR,
genesis_block VARCHAR(66),
network_id VARCHAR,
2021-11-18 13:33:22 +00:00
node_id VARCHAR(128) PRIMARY KEY,
chain_id INTEGER DEFAULT 1
);
-- +goose Down
DROP TABLE nodes;