fix: Add no overlapping constraint to missing_block_ranges (#10449)
parent
30d01e48ff
commit
f1752d972d
@ -0,0 +1,11 @@ |
||||
defmodule Explorer.Repo.Migrations.AddNoOverlapIndexToMissingBlockRanges do |
||||
use Ecto.Migration |
||||
|
||||
def change do |
||||
create( |
||||
constraint(:missing_block_ranges, :missing_block_ranges_no_overlap, |
||||
exclude: ~s|gist (int4range(to_number, from_number, '[]') WITH &&)| |
||||
) |
||||
) |
||||
end |
||||
end |
Loading…
Reference in new issue