From c758cda8b4da8437e9855326286e98dd000f486c Mon Sep 17 00:00:00 2001 From: krehermann Date: Fri, 21 Jun 2024 13:00:24 -0600 Subject: [PATCH] move evm db types to evm schema (#13659) --- .../migrate/migrations/0245_mv_emv_txm_types.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 core/store/migrate/migrations/0245_mv_emv_txm_types.sql 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; +