class RenameAutomaticExploitationIndex < ActiveRecord::Migration
  def change
    rename_index :automatic_exploitation_matches,
    'index_automatic_exploitation_matches_on_ref_id',
    'index_automatic_exploitation_matches_on_module_detail_id'
  end
end

Create migration to rename an AE match index
Create migration to rename an AE match index

MSP-12593

* Fixes structure.sql diffs
* Used to be ref_id but new naming convention for AE is module_detail_id
