Skip to content

Commit

Permalink
move evm db types to evm schema (#13659)
Browse files Browse the repository at this point in the history
  • Loading branch information
krehermann authored Jun 21, 2024
1 parent 2ed4478 commit c758cda
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions core/store/migrate/migrations/0245_mv_emv_txm_types.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
-- +goose Up
ALTER TYPE eth_txes_state RENAME TO txes_state;
ALTER TYPE txes_state SET SCHEMA "evm";

ALTER TYPE eth_tx_attempts_state RENAME TO tx_attempts_state;
ALTER TYPE tx_attempts_state SET SCHEMA "evm";
-- +goose Down
ALTER TYPE evm.txes_state SET SCHEMA "public";
ALTER TYPE txes_state RENAME TO eth_txes_state;

ALTER TYPE evm.tx_attempts_state SET SCHEMA "public";
ALTER TYPE tx_attempts_state RENAME TO eth_tx_attempts_state;

0 comments on commit c758cda

Please sign in to comment.