Merge pull request #2929 from poanetwork/vb-speedup-pending-block-ops-int-txs-to-fetch-query
Speedup pending block ops int txs to fetch querypp-pending-blocks-ops
commit
1dd33f8897
@ -0,0 +1,9 @@ |
||||
defmodule Explorer.Repo.Migrations.PendingBlockOperationsBlockHashPartialIndex do |
||||
use Ecto.Migration |
||||
|
||||
def change do |
||||
execute( |
||||
"CREATE INDEX pending_block_operations_block_hash_index_partial ON pending_block_operations(block_hash) WHERE fetch_internal_transactions=true;" |
||||
) |
||||
end |
||||
end |
Loading…
Reference in new issue