class AddUniqueIndexToTradePermits < ActiveRecord::Migration
  def change
    add_index "trade_permits", :number, :name => "trade_permits_number_idx"
  end
end

class AddUniqueIndexToTradePermits < ActiveRecord::Migration
  def change
    add_index "trade_permits", :number, :name => "trade_permits_number_idx", :unique => true
  end
end

Set the index to be actually unique
Set the index to be actually unique
