class ModuleDetailOnAutomaticExploitationMatch < ActiveRecord::Migration
  def up
    rename_column :automatic_exploitation_matches, :ref_id, :module_detail_id
    add_column :automatic_exploitation_matches, :match_set_id, :integer
  end

  def down
    rename_column :automatic_exploitation_matches, :module_detail_id, :ref_id
  end
end
