Merge pull request #2518 from poanetwork/ab-create-suggested-indexes
create suggested indexespull/2594/head
commit
e9d7b7cf51
@ -0,0 +1,8 @@ |
||||
defmodule Explorer.Repo.Migrations.CreateSuggestedIndexes do |
||||
use Ecto.Migration |
||||
|
||||
def change do |
||||
create_if_not_exists(index(:address_token_balances, [:block_number, :address_hash])) |
||||
create_if_not_exists(index(:block_rewards, [:block_hash])) |
||||
end |
||||
end |
Loading…
Reference in new issue