add index to blocks' consensus

pull/1509/head
Ayrat Badykov 6 years ago
parent 6f0759633d
commit b2ec433aa8
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 7
      apps/explorer/priv/repo/migrations/20190301120328_add_index_to_consensus.exs

@ -0,0 +1,7 @@
defmodule Explorer.Repo.Migrations.AddIndexToConsensus do
use Ecto.Migration
def change do
create(index(:blocks, [:consensus]))
end
end
Loading…
Cancel
Save