remove unique index on transaction_hash, log_index for token transfers

pull/2888/head
Ayrat Badykov 5 years ago
parent 5ad684dc5e
commit f488cfa982
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 2
      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

Loading…
Cancel
Save