class CreateAutomaticExploitationMatches < ActiveRecord::Migration
  def change
    create_table :automatic_exploitation_matches do |t|
      t.integer :vuln_id
      t.integer :ref_id
      t.string :state
      t.integer :nexpose_data_vulnerability_definition_id

      t.timestamps
    end

    add_index :automatic_exploitation_matches, :ref_id
    add_index :automatic_exploitation_matches, :vuln_id
  end
end

class CreateAutomaticExploitationMatches < ActiveRecord::Migration
  def change
    create_table :automatic_exploitation_matches do |t|
      t.integer :ref_id
      t.string :state
      t.integer :nexpose_data_vulnerability_definition_id

      t.timestamps
    end

    add_index :automatic_exploitation_matches, :ref_id
  end
end

Remove crufty column and index
Remove crufty column and index

MSP-11926
