diff --git a/apps/explorer/priv/repo/migrations/20191122062035_add_block_hash_to_token_transfers.exs b/apps/explorer/priv/repo/migrations/20191122062035_add_block_hash_to_token_transfers.exs index c3ee02f605..795c8c28cb 100644 --- a/apps/explorer/priv/repo/migrations/20191122062035_add_block_hash_to_token_transfers.exs +++ b/apps/explorer/priv/repo/migrations/20191122062035_add_block_hash_to_token_transfers.exs @@ -29,5 +29,7 @@ defmodule Explorer.Repo.Migrations.AddBlockHashToTokenTransfers do DROP CONSTRAINT token_transfers_pkey, ADD PRIMARY KEY (transaction_hash, block_hash, log_index); """) + + drop(unique_index(:token_transfers, [:transaction_hash, :log_index])) end end