defmodule Towerops.Repo.Migrations.AddUniqueConstraintToGeoipBlocks do
  use Ecto.Migration

  def change do
    # Add unique index on network field to prevent duplicate CIDR blocks
    create unique_index(:geoip_blocks, [:network])
  end
end
