fix: Rename zksync l1/l2 _tx_count columns (#11051)

pull/11053/head
Victor Baranov 4 weeks ago committed by GitHub
parent 7e78505e51
commit b8768fdbcc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      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
Loading…
Cancel
Save