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/priv/repo/migrations/20180129201141_add_fields_t...

19 lines
587 B

defmodule Explorer.Repo.Migrations.AddFieldsToTransactions do
use Ecto.Migration
def change do
alter table(:transactions) do
add :gas, :numeric, precision: 100, null: false
add :gas_price, :numeric, precision: 100, null: false
add :input, :text, null: false
add :nonce, :integer, null: false
add :public_key, :string, null: false
add :r, :string, null: false
add :s, :string, null: false
add :standard_v, :string, null: false
add :transaction_index, :string, null: false
add :v, :string, null: false
end
end
end