Skip to content

Commit 268caf2

Browse files
Qwerty5Uiopvbaranov
authored andcommitted
fix: Add dependency between heavy internal transactions migrations (blockscout#14107)
1 parent 5195713 commit 268caf2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/explorer/lib/explorer/migrator/heavy_db_index_operation/drop_internal_transactions_block_hash_transaction_index_index_index.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ defmodule Explorer.Migrator.HeavyDbIndexOperation.DropInternalTransactionsBlockH
1111
MigrationStatus
1212
}
1313

14+
alias Explorer.Migrator.HeavyDbIndexOperation.DropInternalTransactionsCreatedContractAddressHashPartialIndex
1415
alias Explorer.Migrator.HeavyDbIndexOperation.Helper, as: HeavyDbIndexOperationHelper
1516

1617
@table_name :internal_transactions
@@ -29,7 +30,8 @@ defmodule Explorer.Migrator.HeavyDbIndexOperation.DropInternalTransactionsBlockH
2930
@impl HeavyDbIndexOperation
3031
def dependent_from_migrations do
3132
[
32-
EmptyInternalTransactionsData.migration_name()
33+
EmptyInternalTransactionsData.migration_name(),
34+
DropInternalTransactionsCreatedContractAddressHashPartialIndex.migration_name()
3335
]
3436
end
3537

0 commit comments

Comments
 (0)