Merge pull request #6443 from blockscout/drop-internal-transactions-order-index

Drop internal transactions order index
pull/6445/head
Victor Baranov 2 years ago committed by GitHub
commit 40cd801270
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 7
      apps/explorer/priv/repo/migrations/20221114121811_drop_internal_transactions_order_index.exs

@ -16,6 +16,7 @@
- [#6209](https://github.com/blockscout/blockscout/pull/6209) - Add metrics for block import stages, runners, steps
- [#6257](https://github.com/blockscout/blockscout/pull/6257), [#6276](https://github.com/blockscout/blockscout/pull/6276) - DISABLE_TOKEN_INSTANCE_FETCHER env variable
- [#6391](https://github.com/blockscout/blockscout/pull/6391), [#6427](https://github.com/blockscout/blockscout/pull/6427) - TokenTransfer token_id -> token_ids migration
- [#6443](https://github.com/blockscout/blockscout/pull/6443) - Drop internal transactions order index
### Fixes

@ -0,0 +1,7 @@
defmodule Explorer.Repo.Migrations.DropInternalTransactionsOrderIndex do
use Ecto.Migration
def change do
drop_if_exists(index(:internal_transactions, ["block_number DESC, transaction_index DESC, index DESC"]))
end
end
Loading…
Cancel
Save