Merge pull request #2769 from poanetwork/ab-optimize-token-token-transfers-query
optimize token token transfers querypull/2783/head
commit
9718717f77
@ -0,0 +1,12 @@ |
||||
defmodule Explorer.Repo.Migrations.AddTokenTransferSortingIndexes do |
||||
use Ecto.Migration |
||||
|
||||
def change do |
||||
create( |
||||
index( |
||||
:token_transfers, |
||||
["block_number DESC", "log_index DESC"] |
||||
) |
||||
) |
||||
end |
||||
end |
Loading…
Reference in new issue