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 null: false
    end

    add_index :automatic_exploitation_matches, :ref_id
  end
end
