diff --git a/apps/explorer/priv/repo/migrations/20190301120328_add_index_to_consensus.exs b/apps/explorer/priv/repo/migrations/20190301120328_add_index_to_consensus.exs new file mode 100644 index 0000000000..1a3f3ac5b6 --- /dev/null +++ b/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