-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deploy(clickhouse): Drop Beacon_p2p_attestation signature (#273)
* deploy(clickhouse): Drop Beacon_p2p_attestation signature * deploy(clickhouse): Drop Beacon_p2p_attestation signature * deploy(clickhouse): Drop Beacon_p2p_attestation signature * deploy(clickhouse): Drop Beacon_p2p_attestation signature
- Loading branch information
Showing
4 changed files
with
25 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
deploy/migrations/clickhouse/025_rm_beacon_attestation_signature.down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ALTER TABLE default.beacon_api_eth_v1_events_attestation_local ON CLUSTER '{cluster}' | ||
ADD COLUMN signature String Codec(ZSTD(1)) AFTER attesting_validator_committee_index; | ||
|
||
ALTER TABLE default.beacon_api_eth_v1_events_attestation ON CLUSTER '{cluster}' | ||
ADD COLUMN signature String Codec(ZSTD(1)) AFTER attesting_validator_committee_index; | ||
|
||
ALTER TABLE default.beacon_p2p_attestation_local ON CLUSTER '{cluster}' | ||
ADD COLUMN signature String Codec(ZSTD(1)) AFTER attesting_validator_committee_index; | ||
|
||
ALTER TABLE default.beacon_p2p_attestation ON CLUSTER '{cluster}' | ||
ADD COLUMN signature String Codec(ZSTD(1)) AFTER attesting_validator_committee_index; |
12 changes: 12 additions & 0 deletions
12
deploy/migrations/clickhouse/025_rm_beacon_attestation_signature.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
ALTER TABLE default.beacon_api_eth_v1_events_attestation_local ON CLUSTER '{cluster}' | ||
DROP COLUMN signature; | ||
|
||
ALTER TABLE default.beacon_api_eth_v1_events_attestation ON CLUSTER '{cluster}' | ||
DROP COLUMN signature; | ||
|
||
|
||
ALTER TABLE default.beacon_p2p_attestation_local ON CLUSTER '{cluster}' | ||
DROP COLUMN signature; | ||
|
||
ALTER TABLE default.beacon_p2p_attestation ON CLUSTER '{cluster}' | ||
DROP COLUMN signature; |