Skip to content

Commit

Permalink
tweak libp2p_peer_local key
Browse files Browse the repository at this point in the history
  • Loading branch information
Savid committed May 1, 2024
1 parent eed1d18 commit fdfd5f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/migrations/clickhouse/032_libp2p_trace.up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ COMMENT COLUMN meta_network_id 'Ethereum network ID',
COMMENT COLUMN meta_network_name 'Ethereum network name';

CREATE TABLE libp2p_peer ON CLUSTER '{cluster}' AS libp2p_peer_local
ENGINE = Distributed('{cluster}', default, libp2p_peer_local, rand());
ENGINE = Distributed('{cluster}', default, libp2p_peer_local, unique_key);

-- Creating local and distributed tables for libp2p_add_peer
CREATE TABLE libp2p_add_peer_local ON CLUSTER '{cluster}'
Expand Down

0 comments on commit fdfd5f3

Please sign in to comment.