pull/2929/head
parent
764a95c7e5
commit
55d280c05c
@ -0,0 +1,9 @@ |
|||||||
|
defmodule Explorer.Repo.Migrations.PendingBlockOperationsBlockHashPartialIndex do |
||||||
|
use Ecto.Migration |
||||||
|
|
||||||
|
def change do |
||||||
|
execute( |
||||||
|
"CREATE INDEX pending_block_operations_block_hash_index_partial ON pending_block_operations(block_hash) WHERE fetch_internal_transactions=true;" |
||||||
|
) |
||||||
|
end |
||||||
|
end |
Loading…
Reference in new issue