diff --git a/core/store/migrate/migrations/0245_mv_emv_txm_types.sql b/core/store/migrate/migrations/0245_mv_emv_txm_types.sql new file mode 100644 index 00000000000..c21e976da43 --- /dev/null +++ b/core/store/migrate/migrations/0245_mv_emv_txm_types.sql @@ -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; +