class AddIndexToDeviceAgingTests < ActiveRecord::Migration[6.0]
  def change
    remove_index :device_aging_tests, :mac if index_exists?(:device_aging_tests, :mac)
    add_index :device_aging_tests, :mac
  end
end
