parent
e0c99a5e6b
commit
5eeeb6dcab
@ -0,0 +1,7 @@ |
|||||||
|
defmodule Explorer.Repo.Migrations.CreateIndexBlocksMinerHashNumberIndex do |
||||||
|
use Ecto.Migration |
||||||
|
|
||||||
|
def change do |
||||||
|
create_if_not_exists(index(:blocks, [:miner_hash, :number])) |
||||||
|
end |
||||||
|
end |
Loading…
Reference in new issue