pull/1596/head
Ayrat Badykov 6 years ago
parent 77d717069e
commit 3f96b9c2b8
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 2
      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)

Loading…
Cancel
Save