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/repo/migrations/20180117221921_create_addre...

14 lines
434 B

defmodule Explorer.Repo.Migrations.CreateAddress do
use Ecto.Migration
def change do
create table(:addresses, primary_key: false) do
add(:fetched_coin_balance, :numeric, precision: 100)
add(:fetched_coin_balance_block_number, :bigint)
add(:hash, :bytea, null: false, primary_key: true)
add(:contract_code, :bytea, null: true)
timestamps(null: false, type: :utc_datetime_usec)
end
end
end