Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blockscout/apps/explorer/priv/optimism/migrations/20230301105051_rename_field...

12 lines
558 B

defmodule Explorer.Repo.Migrations.RenameFields do
use Ecto.Migration
def change do
rename(table(:op_transaction_batches), :l1_tx_hashes, to: :l1_transaction_hashes)
rename(table(:op_transaction_batches), :l1_tx_timestamp, to: :l1_timestamp)
rename(table(:op_output_roots), :l1_tx_hash, to: :l1_transaction_hash)
rename(table(:op_withdrawals), :l2_tx_hash, to: :l2_transaction_hash)
rename(table(:op_withdrawals), :withdrawal_hash, to: :hash)
rename(table(:op_withdrawal_events), :l1_tx_hash, to: :l1_transaction_hash)
end
end