From b8768fdbcc796dbe1023a0496de0b449eb9f1761 Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Mon, 28 Oct 2024 13:03:45 +0200 Subject: [PATCH] fix: Rename zksync l1/l2 _tx_count columns (#11051) --- .../20241028102407_rename_tx_count_fields_zksync.exs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 apps/explorer/priv/zk_sync/migrations/20241028102407_rename_tx_count_fields_zksync.exs diff --git a/apps/explorer/priv/zk_sync/migrations/20241028102407_rename_tx_count_fields_zksync.exs b/apps/explorer/priv/zk_sync/migrations/20241028102407_rename_tx_count_fields_zksync.exs new file mode 100644 index 0000000000..dd89c64fce --- /dev/null +++ b/apps/explorer/priv/zk_sync/migrations/20241028102407_rename_tx_count_fields_zksync.exs @@ -0,0 +1,8 @@ +defmodule Explorer.Repo.ZkSync.Migrations.RenameTxCountFieldsZksync do + use Ecto.Migration + + def change do + rename(table(:zksync_transaction_batches), :l1_tx_count, to: :l1_transaction_count) + rename(table(:zksync_transaction_batches), :l2_tx_count, to: :l2_transaction_count) + end +end