Merge pull request #1425 from poanetwork/ab-add_index_fro_address_current_token_balances
add index for address_current_token_balancespull/1439/head
commit
12aa156711
@ -0,0 +1,7 @@ |
|||||||
|
defmodule Explorer.Repo.Migrations.AddIndexOnAddressHashBlockNumberAndTokenContractAddressHashForCurrentTokenBalance do |
||||||
|
use Ecto.Migration |
||||||
|
|
||||||
|
def change do |
||||||
|
create(index(:address_current_token_balances, [:address_hash, :block_number, :token_contract_address_hash])) |
||||||
|
end |
||||||
|
end |
Loading…
Reference in new issue