diff --git a/apps/explorer/priv/repo/migrations/20190325081658_remove_unique_address_hash_decompiled_contracts.exs b/apps/explorer/priv/repo/migrations/20190325081658_remove_unique_address_hash_decompiled_contracts.exs index 863de15085..eb4b94237e 100644 --- a/apps/explorer/priv/repo/migrations/20190325081658_remove_unique_address_hash_decompiled_contracts.exs +++ b/apps/explorer/priv/repo/migrations/20190325081658_remove_unique_address_hash_decompiled_contracts.exs @@ -2,7 +2,7 @@ defmodule Explorer.Repo.Migrations.RemoveUniqueAddressHashDecompiledContracts do use Ecto.Migration def change do - drop index(:decompiled_smart_contracts, [:address_hash]) + drop(index(:decompiled_smart_contracts, [:address_hash])) create( unique_index(:decompiled_smart_contracts, [:address_hash, :decompiler_version], name: :address_decompiler_version)