Skip to content

Commit

Permalink
Merge pull request #365 from ethpandaops/feat/execution-tables
Browse files Browse the repository at this point in the history
feat(deploy/migrations): add execution tables
  • Loading branch information
Savid authored Aug 20, 2024
2 parents d47fcff + 94c669b commit 2b1c95f
Show file tree
Hide file tree
Showing 2 changed files with 610 additions and 0 deletions.
32 changes: 32 additions & 0 deletions deploy/migrations/clickhouse/049_canonical_execution.down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
DROP TABLE IF EXISTS default.canonical_execution_block ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_block_local ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_transaction ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_transaction_local ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_balance_diffs ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_balance_diffs_local ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_balance_reads ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_balance_reads_local ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_four_byte_counts ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_four_byte_counts_local ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_erc20_transfers ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_erc20_transfers_local ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_erc721_transfers ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_erc721_transfers_local ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_native_transfers ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_native_transfers_local ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_nonce_diffs ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_nonce_diffs_local ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_nonce_reads ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_nonce_reads_local ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_address_appearances ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_address_appearances_local ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_contracts ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_contracts_local ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_traces ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_traces_local ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_logs ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_logs_local ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_storage_diffs ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_storage_diffs_local ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_storage_reads ON CLUSTER '{cluster}' SYNC;
DROP TABLE IF EXISTS default.canonical_execution_storage_reads_local ON CLUSTER '{cluster}' SYNC;
Loading

0 comments on commit 2b1c95f

Please sign in to comment.